IServiceConfiguration<TService>.GetIdentityProvider Method (String)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Returns the identity provider used for a specified user when accessing a service.
Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
IdentityProvider GetIdentityProvider(
string userPrincipalName
)
Function GetIdentityProvider (
userPrincipalName As String
) As IdentityProvider
Parameters
userPrincipalName
Type: System.StringType: String. Specifies a user principal name (UPN).
Return Value
Type: Microsoft.Xrm.Sdk.Client.IdentityProvider
Type: IdentityProvider
The identity provider.
See Also
IServiceConfiguration<TService> Interface
Microsoft.Xrm.Sdk.Client Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright