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

Namespace:   Microsoft.Xrm.Tooling.CrmConnectControl.Utility
Assembly:  Microsoft.Xrm.Tooling.CrmConnectControl (in Microsoft.Xrm.Tooling.CrmConnectControl.dll)

System.Object
  Microsoft.Xrm.Tooling.CrmConnectControl.Utility.CredentialManager

public static class CredentialManager

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticDeleteCredentials(String, Boolean)

Deletes the credentials.

System_CAPS_pubmethodSystem_CAPS_staticDeleteCredentials(Uri, Boolean)

Deletes the credentials.

System_CAPS_pubmethodSystem_CAPS_staticGetCredentialTarget(Uri)

Retrieves the URI (for a given target URI) that will be present in the saved credentials

System_CAPS_pubmethodSystem_CAPS_staticReadCredentials(String)

Reads the saved credentials for a given target

System_CAPS_pubmethodSystem_CAPS_staticReadCredentials(Uri)

Reads the credentials for the given target URI

System_CAPS_pubmethodSystem_CAPS_staticWriteCredentials(String, SavedCredentials, Boolean)

Writes the credentials.

System_CAPS_pubmethodSystem_CAPS_staticWriteCredentials(Uri, SavedCredentials, Boolean)

Writes the credentials.

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticCrmTargetPrefix

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.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: