次の方法で共有


IIsCertMapper.GetMapping (WMI)

The GetMapping method retrieves an SSL certificate and the mapping data from an existing certificate mapping. Four seek methods are available to search for the mapping: by certificate, by name, by Windows account, and by numeric string index. The retrieved mapping is returned in parameter variables that you provide.

objIIsCertMapper.GetMapping(
      IMethod,
      vKey,
      vCert,
      NtAcct,
      NtPwd,
      strName,
      IEnabled
)

Parameters

  • IMethod
    [in] Long integer containing the seek method to use for searching the mappings. Valid seek methods are 1, 2, 3, or 4. Seek method 1 specifies search by certificate, seek method 2 searches by name, method 3 searches by Windows account, and method 4 searches by a 1-based numeric string index (for example, "1," "2," and so on).

  • vKey
    [in] String containing the key to use in the search specified by lMethod. For seek method 1, vKey specifies a certificate. For seek method 2, vKey specifies a name. For seek method 3, vKey specifies a Windows account. For seek method 4, vKey specifies a numeric string index (for example, "1," "2," and so on).

  • vCert
    [out] String containing the returned certificate.

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

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

  • strName
    [out] String containing the Windows account friendly name.

  • IEnabled
    [out] Boolean containing TRUE for an enabled mapping, or FALSE for a disabled mapping.

Return Values

This method has no return values.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also