Share via


AccountId Constructors

Definition

Overloads

AccountId(String)

Constructor of an AccountId meant for Active Directory Federation Services (ADFS) scenarios since ADFS instances lack tenant IDs.

AccountId(String, String, String)

Constructor for an account ID.

AccountId(String)

Constructor of an AccountId meant for Active Directory Federation Services (ADFS) scenarios since ADFS instances lack tenant IDs.

public AccountId (string adfsIdentifier);
new Microsoft.Identity.Client.AccountId : string -> Microsoft.Identity.Client.AccountId
Public Sub New (adfsIdentifier As String)

Parameters

adfsIdentifier
String

Unique identifier for the account if authority is ADFS.

Applies to

AccountId(String, String, String)

Constructor for an account ID.

public AccountId (string identifier, string objectId, string tenantId);
new Microsoft.Identity.Client.AccountId : string * string * string -> Microsoft.Identity.Client.AccountId
Public Sub New (identifier As String, objectId As String, tenantId As String)

Parameters

identifier
String

Unique identifier for the account.

objectId
String

A string representation for a GUID which is the ID of the user owning the account in the tenant.

tenantId
String

A string representation for a GUID which is the ID of the tenant where the account resides.

Applies to