IServiceConfigurationAuthenticate Method

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Authenticates against the trusted Microsoft Dynamics 365 Secure Token Service using client credentials.

Namespace:   Microsoft.Xrm.Sdk.Client
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

No code example is currently available or this language may not be supported.

Parameters

clientCredentials
Type:

Type: ClientCredentials. Specifies a client credential instance containing either Windows credentials or UserName credentials.

Return Value

Type:

Type: SecurityTokenResponse
The security token response.

Returns null when the service is in Active Directory mode. A non-null value is returned when in federated mode.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: