CredentialManager Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
This class exposes methods to read, write and delete user credentials
Namespace: Microsoft.Xrm.Tooling.CrmConnectControl.Utility
Assembly: Microsoft.Xrm.Tooling.CrmConnectControl (in Microsoft.Xrm.Tooling.CrmConnectControl.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Tooling.CrmConnectControl.Utility.CredentialManager
Syntax
public static class CredentialManager
Public NotInheritable Class CredentialManager
Methods
Name | Description | |
---|---|---|
DeleteCredentials(String, Boolean) | Deletes the credentials. |
|
DeleteCredentials(Uri, Boolean) | Deletes the credentials. |
|
GetCredentialTarget(Uri) | Retrieves the URI (for a given target URI) that will be present in the saved credentials |
|
ReadCredentials(String) | Reads the saved credentials for a given target |
|
ReadCredentials(Uri) | Reads the credentials for the given target URI |
|
WriteCredentials(String, SavedCredentials, Boolean) | Writes the credentials. |
|
WriteCredentials(Uri, SavedCredentials, Boolean) | Writes the credentials. |
Fields
Name | Description | |
---|---|---|
CrmTargetPrefix | Target Name against which all credentials are stored on the disk. |
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.Xrm.Tooling.CrmConnectControl.Utility Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright