DiscoveryService.GetUserTokenResponse Method (CrmConnection, IServiceConfiguration<IDiscoveryService>)
Applies To: Dynamics CRM 2013
Get the user token response.
Namespace: Microsoft.Xrm.Client.Services
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
protected virtual SecurityTokenResponse GetUserTokenResponse(
CrmConnection connection,
IServiceConfiguration<IDiscoveryService> config
)
protected:
virtual SecurityTokenResponse^ GetUserTokenResponse(
CrmConnection^ connection,
IServiceConfiguration<IDiscoveryService^>^ config
)
abstract GetUserTokenResponse :
connection:CrmConnection *
config:IServiceConfiguration<IDiscoveryService> -> SecurityTokenResponse
override GetUserTokenResponse :
connection:CrmConnection *
config:IServiceConfiguration<IDiscoveryService> -> SecurityTokenResponse
Protected Overridable Function GetUserTokenResponse (
connection As CrmConnection,
config As IServiceConfiguration(Of IDiscoveryService)
) As SecurityTokenResponse
Parameters
connection
Type: Microsoft.Xrm.Client.CrmConnectionType: CrmConnection. The connection.
config
Type: Microsoft.Xrm.Sdk.Client.IServiceConfiguration<IDiscoveryService>Type: IServiceConfiguration<TService><IDiscoveryService>. The service configuration.
Return Value
Type: Microsoft.Xrm.Sdk.Client.SecurityTokenResponse
Type: SecurityTokenResponse
The user token response.
See Also
DiscoveryService Class
Microsoft.Xrm.Client.Services Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top