Partager via


AuthenticationService Class

Definition

Provides the default authentication service.

public ref class AuthenticationService sealed : IDisposable
public sealed class AuthenticationService : IDisposable
type AuthenticationService = class
    interface IDisposable
Public NotInheritable Class AuthenticationService
Implements IDisposable
Inheritance
AuthenticationService
Implements

Constructors

AuthenticationService()

Initializes a new instance of the AuthenticationService class.

Properties

Connected

Gets a Boolean value that specifies whether a successful connection to the CRM server is established.

CrmServiceClient

Gets the CRM service client.

DiscoveryServiceProxy
Obsolete.

Gets the discovery service proxy.

OrganizationServiceProxy
Obsolete.

Gets the organization service proxy.

WhoAmI

Gets the details of the connected user.

Methods

Connect(CrmServiceClient)

Connects using the specified CRM service client.

Connect(OrganizationServiceProxy)

Connects using the specified organization service proxy.

Connect(Uri, NetworkCredential)

Connects to the specified organization service URI.

Connect(Uri, String, String, ClientCredentials, Boolean)

Connects to the specified organization service URI.

Connect(Uri, Uri, ClientCredentials, ClientCredentials)

Connects to the specified URI.

Connect(Uri, Uri, NetworkCredential, String, Boolean)

Connects to the specified discovery service URI.

DiscoverOrganizations(Uri, Uri, ClientCredentials, ClientCredentials)
Obsolete.

Discovers the organizations.

DiscoverOrganizations(Uri, Uri, NetworkCredential, Boolean)
Obsolete.

Discovers the organizations.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Applies to