IAssemblyAuthenticationContext.AcquireToken Method (String, String, AuthenticationType)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
string AcquireToken(
string authority,
string resource,
AuthenticationType authenticationType
)
Function AcquireToken (
authority As String,
resource As String,
authenticationType As AuthenticationType
) As String
Parameters
- authority
Type: System.String
- resource
Type: System.String
- authenticationType
Type: Microsoft.Xrm.Sdk.AuthenticationType
Return Value
Type: System.String
See Also
IAssemblyAuthenticationContext Interface
Microsoft.Xrm.Sdk Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright