IServiceConfiguration<TService>.GetIdentityProvider(String) Method

Definition

Returns the identity provider used for a specified user when accessing a service.

public:
 Microsoft::Xrm::Sdk::Client::IdentityProvider ^ GetIdentityProvider(System::String ^ userPrincipalName);
public Microsoft.Xrm.Sdk.Client.IdentityProvider GetIdentityProvider (string userPrincipalName);
abstract member GetIdentityProvider : string -> Microsoft.Xrm.Sdk.Client.IdentityProvider
Public Function GetIdentityProvider (userPrincipalName As String) As IdentityProvider

Parameters

userPrincipalName
String

Specifies a user principal name (UPN).

Returns

The identity provider.

Applies to