Partager via


IServiceManagement<TService>.Authenticate Method

Definition

Authenticates the logged on user with the service.

public:
 Microsoft::Xrm::Sdk::Client::AuthenticationCredentials ^ Authenticate(Microsoft::Xrm::Sdk::Client::AuthenticationCredentials ^ authenticationCredentials);
public Microsoft.Xrm.Sdk.Client.AuthenticationCredentials Authenticate (Microsoft.Xrm.Sdk.Client.AuthenticationCredentials authenticationCredentials);
abstract member Authenticate : Microsoft.Xrm.Sdk.Client.AuthenticationCredentials -> Microsoft.Xrm.Sdk.Client.AuthenticationCredentials
Public Function Authenticate (authenticationCredentials As AuthenticationCredentials) As AuthenticationCredentials

Parameters

authenticationCredentials
AuthenticationCredentials

Specifies the user’s logon credentials.

Returns

The user's authentication credentials, including the final security token.

Applies to