Share via


CimCredential Constructor (ImpersonatedAuthenticationMechanism)

 

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

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

Syntax

public CimCredential(
    ImpersonatedAuthenticationMechanism authenticationMechanism
)
public:
CimCredential(
    ImpersonatedAuthenticationMechanism authenticationMechanism
)
new : 
        authenticationMechanism:ImpersonatedAuthenticationMechanism -> CimCredential
Public Sub New (
    authenticationMechanism As ImpersonatedAuthenticationMechanism
)

Parameters

See Also

CimCredential Overload
CimCredential Class
Microsoft.Management.Infrastructure.Options Namespace

Return to top