Partager via


CredentialManager.ReadCredentials Method

Definition

Overloads

ReadCredentials(String)

Reads the saved credentials for a given target

ReadCredentials(Uri)

Reads the credentials for the given target URI

ReadCredentials(String)

Reads the saved credentials for a given target

public:
 static Microsoft::Xrm::Tooling::CrmConnectControl::Utility::SavedCredentials ^ ReadCredentials(System::String ^ target);
public static Microsoft.Xrm.Tooling.CrmConnectControl.Utility.SavedCredentials ReadCredentials (string target);
static member ReadCredentials : string -> Microsoft.Xrm.Tooling.CrmConnectControl.Utility.SavedCredentials
Public Shared Function ReadCredentials (target As String) As SavedCredentials

Parameters

target
String

Target that is persisted

Returns

Applies to

ReadCredentials(Uri)

Reads the credentials for the given target URI

public:
 static Microsoft::Xrm::Tooling::CrmConnectControl::Utility::SavedCredentials ^ ReadCredentials(Uri ^ target);
public static Microsoft.Xrm.Tooling.CrmConnectControl.Utility.SavedCredentials ReadCredentials (Uri target);
static member ReadCredentials : Uri -> Microsoft.Xrm.Tooling.CrmConnectControl.Utility.SavedCredentials
Public Shared Function ReadCredentials (target As Uri) As SavedCredentials

Parameters

target
Uri

URI for the target

Returns

Applies to