Jaa


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
System_CAPS_pubmethodSystem_CAPS_static DeleteCredentials(String, Boolean)

Deletes the credentials.

System_CAPS_pubmethodSystem_CAPS_static DeleteCredentials(Uri, Boolean)

Deletes the credentials.

System_CAPS_pubmethodSystem_CAPS_static GetCredentialTarget(Uri)

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

System_CAPS_pubmethodSystem_CAPS_static ReadCredentials(String)

Reads the saved credentials for a given target

System_CAPS_pubmethodSystem_CAPS_static ReadCredentials(Uri)

Reads the credentials for the given target URI

System_CAPS_pubmethodSystem_CAPS_static WriteCredentials(String, SavedCredentials, Boolean)

Writes the credentials.

System_CAPS_pubmethodSystem_CAPS_static WriteCredentials(Uri, SavedCredentials, Boolean)

Writes the credentials.

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static 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