Partager via


CimCredential Class

 

Represents a CIM credential.

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

Inheritance Hierarchy

System.Object
  Microsoft.Management.Infrastructure.Options.CimCredential

Syntax

public class CimCredential
public ref class CimCredential 
type CimCredential = class end
Public Class CimCredential

Constructors

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.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Management.Infrastructure.Options Namespace

Return to top