次の方法で共有


IIsCertMapper.CreateMapping (WMI)

The CreateMapping method maps an SSL certificate to a Windows account.

objIIsCertMapper.CreateMapping(
      vCert,
      NtAcct,
      NtPwd,
      strName,
      IEnabled
)

Parameters

  • vCert
    [in] String containing the certificate. The certificate is either a string or an array of bytes, usually obtained from the Request.ClientCertificate Collection collection of the built-in ASP Request Object.

  • NtAcct
    [in] String containing the Windows NT account name.

  • NtPwd
    [in] String containing the Windows NT password.

  • strName
    [in] String containing the friendly name for the account.

  • IEnabled
    [in] Boolean containing TRUE to enable the mapping, FALSE to disable the mapping

Return Values

This method has no return values.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also