次の方法で共有


CimCredential Constructor (String, String, String, SecureString)

 

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

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

Syntax

public CimCredential(
    string authenticationMechanism,
    string domain,
    string userName,
    SecureString password
)
public:
CimCredential(
    String^ authenticationMechanism,
    String^ domain,
    String^ userName,
    SecureString^ password
)
new : 
        authenticationMechanism:string *
        domain:string *
        userName:string *
        password:SecureString -> CimCredential
Public Sub New (
    authenticationMechanism As String,
    domain As String,
    userName As String,
    password As SecureString
)

Parameters

  • authenticationMechanism
    Type: System.String

    The authentication mechanism.

See Also

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

Return to top