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 | |
---|---|---|
AuthenticationService() | Initializes a new instance of the AuthenticationService class. |
Properties
Name | Description | |
---|---|---|
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
Name | Description | |
---|---|---|
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. |
|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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