Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.StringThe authentication mechanism.
___domain
Type: System.StringThe ___domain.
userName
Type: System.StringThe user name.
password
Type: System.Security.SecureStringThe password for the specified user.
See Also
CimCredential Overload
CimCredential Class
Microsoft.Management.Infrastructure.Options Namespace
Return to top