Share via


CredentialManager Class

 

Applies To: Dynamics CRM 2015

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 ref class CredentialManager abstract sealed 
[<AbstractClass>]
[<Sealed>]
type CredentialManager = class end
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

© 2016 Microsoft. All rights reserved. Copyright