DiscoveryService.CreateUserTokenResponse Method (CrmConnection, IServiceConfiguration<IDiscoveryService>)
Applies To: Dynamics CRM 2015
Creates a user token response.
Namespace: Microsoft.Xrm.Client.Services
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
protected virtual SecurityTokenResponse CreateUserTokenResponse(
CrmConnection connection,
IServiceConfiguration<IDiscoveryService> config
)
protected:
virtual SecurityTokenResponse^ CreateUserTokenResponse(
CrmConnection^ connection,
IServiceConfiguration<IDiscoveryService^>^ config
)
abstract CreateUserTokenResponse :
connection:CrmConnection *
config:IServiceConfiguration<IDiscoveryService> -> SecurityTokenResponse
override CreateUserTokenResponse :
connection:CrmConnection *
config:IServiceConfiguration<IDiscoveryService> -> SecurityTokenResponse
Protected Overridable Function CreateUserTokenResponse (
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
Return to top
© 2017 Microsoft. All rights reserved. Copyright