UserCredential Constructors

Definition

Overloads

UserCredential()

Constructor to create user credential. Using this constructor would imply integrated authentication with logged in user and it can only be used in domain joined scenarios.

UserCredential(String)

Constructor to create credential with username

UserCredential()

Constructor to create user credential. Using this constructor would imply integrated authentication with logged in user and it can only be used in domain joined scenarios.

public UserCredential ();
Public Sub New ()

Applies to

UserCredential(String)

Constructor to create credential with username

public UserCredential (string userName);
new Microsoft.IdentityModel.Clients.ActiveDirectory.UserCredential : string -> Microsoft.IdentityModel.Clients.ActiveDirectory.UserCredential
Public Sub New (userName As String)

Parameters

userName
System.String

Identifier of the user application requests token on behalf.

Applies to