CredentialManager Class
Updated: November 29, 2016
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
Assembly: Microsoft.Xrm.Tooling.CrmConnectControl (in Microsoft.Xrm.Tooling.CrmConnectControl.dll)
| 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. |
| Name | Description | |
|---|---|---|
![]() ![]() | CrmTargetPrefix | Target Name against which all credentials are stored on the disk. |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright


