IServiceConfiguration<TService>.GetIdentityProvider(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.