Partager via


CimCredential Constructor

 

Creates and initializes a new instance of the CimCredential class.

Namespace:   Microsoft.Management.Infrastructure.Options
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Overload List

Name Description
System_CAPS_pubmethod CimCredential(CertificateAuthenticationMechanism, String)

Creates and initializes a new instance of the CimCredential class based on a certificate authentication mechanism and a certificate thumbprint.

System_CAPS_pubmethod CimCredential(ImpersonatedAuthenticationMechanism)

Creates and initializes a new instance of the CimCredential class based on an impersonated authentication mechanism.

System_CAPS_pubmethod CimCredential(PasswordAuthenticationMechanism, String, String, SecureString)

Creates and initializes a new instance of the CimCredential class based on a password authentication mechanism, domain, username, and password.

System_CAPS_pubmethod CimCredential(String)

Creates and initializes a new instance of the CimCredential class based on an authentication mechanism.

System_CAPS_pubmethod CimCredential(String, String)

Creates and initializes a new instance of the CimCredential class based on an authentication mechanism and a certificate thumbprint.

System_CAPS_pubmethod CimCredential(String, String, String, SecureString)

Creates and initializes a new instance of the CimCredential class based on an authentication mechanism, domain, username, and password.

See Also

CimCredential Class
Microsoft.Management.Infrastructure.Options Namespace

Return to top