Compartilhar via


AuthenticationService Class

 

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

Provides the default authentication service.

Namespace:   Microsoft.Uii.AifServices
Assembly:  Microsoft.Uii.AifServices (in Microsoft.Uii.AifServices.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Uii.AifServices.AuthenticationService

Syntax

public sealed class AuthenticationService : IDisposable
Public NotInheritable Class AuthenticationService
    Implements IDisposable

Constructors

Name Description
System_CAPS_pubmethod AuthenticationService()

Initializes a new instance of the AuthenticationService class.

Properties

Name Description
System_CAPS_pubproperty Connected

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

System_CAPS_pubproperty CrmServiceClient

Gets the CRM service client.

System_CAPS_pubproperty DiscoveryServiceProxy

Obsolete. Gets the discovery service proxy.

System_CAPS_pubproperty OrganizationServiceProxy

Obsolete. Gets the organization service proxy.

System_CAPS_pubproperty WhoAmI

Gets the details of the connected user.

Methods

Name Description
System_CAPS_pubmethod Connect(CrmServiceClient)

Connects using the specified CRM service client.

System_CAPS_pubmethod Connect(OrganizationServiceProxy)

Connects using the specified organization service proxy.

System_CAPS_pubmethod Connect(Uri, NetworkCredential)

Connects to the specified organization service URI.

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

Connects to the specified organization service URI.

System_CAPS_pubmethod Connect(Uri, Uri, ClientCredentials, ClientCredentials)

Connects to the specified URI.

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

Connects to the specified discovery service URI.

System_CAPS_pubmethod DiscoverOrganizations(Uri, Uri, ClientCredentials, ClientCredentials)

Obsolete. Discovers the organizations.

System_CAPS_pubmethod DiscoverOrganizations(Uri, Uri, NetworkCredential, Boolean)

Obsolete. Discovers the organizations.

System_CAPS_pubmethod Dispose()

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

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Uii.AifServices Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright