Partager via


CimCredential Constructors

Definition

Overloads

CimCredential(ImpersonatedAuthenticationMechanism)
CimCredential(String)
CimCredential(CertificateAuthenticationMechanism, String)
CimCredential(String, String)
CimCredential(PasswordAuthenticationMechanism, String, String, SecureString)
CimCredential(String, String, String, SecureString)

CimCredential(ImpersonatedAuthenticationMechanism)

public:
 CimCredential(Microsoft::Management::Infrastructure::Options::ImpersonatedAuthenticationMechanism authenticationMechanism);
public:
 CimCredential(Microsoft::Management::Infrastructure::Options::ImpersonatedAuthenticationMechanism authenticationMechanism);
 CimCredential(Microsoft::Management::Infrastructure::Options::ImpersonatedAuthenticationMechanism authenticationMechanism);
public CimCredential (Microsoft.Management.Infrastructure.Options.ImpersonatedAuthenticationMechanism authenticationMechanism);
new Microsoft.Management.Infrastructure.Options.CimCredential : Microsoft.Management.Infrastructure.Options.ImpersonatedAuthenticationMechanism -> Microsoft.Management.Infrastructure.Options.CimCredential
Public Sub New (authenticationMechanism As ImpersonatedAuthenticationMechanism)

Parameters

authenticationMechanism
ImpersonatedAuthenticationMechanism

Applies to

CimCredential(String)

public:
 CimCredential(System::String ^ authenticationMechanism);
public:
 CimCredential(Platform::String ^ authenticationMechanism);
 CimCredential(std::wstring const & authenticationMechanism);
public CimCredential (string authenticationMechanism);
new Microsoft.Management.Infrastructure.Options.CimCredential : string -> Microsoft.Management.Infrastructure.Options.CimCredential
Public Sub New (authenticationMechanism As String)

Parameters

authenticationMechanism
String

Applies to

CimCredential(CertificateAuthenticationMechanism, String)

public:
 CimCredential(Microsoft::Management::Infrastructure::Options::CertificateAuthenticationMechanism authenticationMechanism, System::String ^ certificateThumbprint);
public:
 CimCredential(Microsoft::Management::Infrastructure::Options::CertificateAuthenticationMechanism authenticationMechanism, Platform::String ^ certificateThumbprint);
 CimCredential(Microsoft::Management::Infrastructure::Options::CertificateAuthenticationMechanism authenticationMechanism, std::wstring const & certificateThumbprint);
public CimCredential (Microsoft.Management.Infrastructure.Options.CertificateAuthenticationMechanism authenticationMechanism, string certificateThumbprint);
new Microsoft.Management.Infrastructure.Options.CimCredential : Microsoft.Management.Infrastructure.Options.CertificateAuthenticationMechanism * string -> Microsoft.Management.Infrastructure.Options.CimCredential
Public Sub New (authenticationMechanism As CertificateAuthenticationMechanism, certificateThumbprint As String)

Parameters

authenticationMechanism
CertificateAuthenticationMechanism
certificateThumbprint
String

Applies to

CimCredential(String, String)

public:
 CimCredential(System::String ^ authenticationMechanism, System::String ^ certificateThumbprint);
public:
 CimCredential(Platform::String ^ authenticationMechanism, Platform::String ^ certificateThumbprint);
 CimCredential(std::wstring const & authenticationMechanism, std::wstring const & certificateThumbprint);
public CimCredential (string authenticationMechanism, string certificateThumbprint);
new Microsoft.Management.Infrastructure.Options.CimCredential : string * string -> Microsoft.Management.Infrastructure.Options.CimCredential
Public Sub New (authenticationMechanism As String, certificateThumbprint As String)

Parameters

authenticationMechanism
String
certificateThumbprint
String

Applies to

CimCredential(PasswordAuthenticationMechanism, String, String, SecureString)

public:
 CimCredential(Microsoft::Management::Infrastructure::Options::PasswordAuthenticationMechanism authenticationMechanism, System::String ^ domain, System::String ^ userName, System::Security::SecureString ^ password);
public CimCredential (Microsoft.Management.Infrastructure.Options.PasswordAuthenticationMechanism authenticationMechanism, string domain, string userName, System.Security.SecureString password);
new Microsoft.Management.Infrastructure.Options.CimCredential : Microsoft.Management.Infrastructure.Options.PasswordAuthenticationMechanism * string * string * System.Security.SecureString -> Microsoft.Management.Infrastructure.Options.CimCredential
Public Sub New (authenticationMechanism As PasswordAuthenticationMechanism, domain As String, userName As String, password As SecureString)

Parameters

authenticationMechanism
PasswordAuthenticationMechanism
domain
String
userName
String
password
SecureString

Applies to

CimCredential(String, String, String, SecureString)

public:
 CimCredential(System::String ^ authenticationMechanism, System::String ^ domain, System::String ^ userName, System::Security::SecureString ^ password);
public CimCredential (string authenticationMechanism, string domain, string userName, System.Security.SecureString password);
new Microsoft.Management.Infrastructure.Options.CimCredential : string * string * string * System.Security.SecureString -> Microsoft.Management.Infrastructure.Options.CimCredential
Public Sub New (authenticationMechanism As String, domain As String, userName As String, password As SecureString)

Parameters

authenticationMechanism
String
domain
String
userName
String
password
SecureString

Applies to