Freigeben über


CredentialManager.WriteCredentials Method

Definition

Overloads

WriteCredentials(String, SavedCredentials, Boolean)

Writes the credentials.

WriteCredentials(Uri, SavedCredentials, Boolean)

Writes the credentials.

WriteCredentials(String, SavedCredentials, Boolean)

Writes the credentials.

public:
 static void WriteCredentials(System::String ^ target, Microsoft::Xrm::Tooling::CrmConnectControl::Utility::SavedCredentials ^ userCredentials, bool storePasswordInCredentialCache);
public static void WriteCredentials (string target, Microsoft.Xrm.Tooling.CrmConnectControl.Utility.SavedCredentials userCredentials, bool storePasswordInCredentialCache);
static member WriteCredentials : string * Microsoft.Xrm.Tooling.CrmConnectControl.Utility.SavedCredentials * bool -> unit
Public Shared Sub WriteCredentials (target As String, userCredentials As SavedCredentials, storePasswordInCredentialCache As Boolean)

Parameters

target
String

Target is the key with which associated credentials can be fetched

userCredentials
SavedCredentials

It is the in parameter which contains the username and password

storePasswordInCredentialCache
Boolean

Indicates that the password should be persisted to the credential cache

Applies to

WriteCredentials(Uri, SavedCredentials, Boolean)

Writes the credentials.

public:
 static void WriteCredentials(Uri ^ target, Microsoft::Xrm::Tooling::CrmConnectControl::Utility::SavedCredentials ^ userCredentials, bool storePasswordInCredentialCache);
public static void WriteCredentials (Uri target, Microsoft.Xrm.Tooling.CrmConnectControl.Utility.SavedCredentials userCredentials, bool storePasswordInCredentialCache);
static member WriteCredentials : Uri * Microsoft.Xrm.Tooling.CrmConnectControl.Utility.SavedCredentials * bool -> unit
Public Shared Sub WriteCredentials (target As Uri, userCredentials As SavedCredentials, storePasswordInCredentialCache As Boolean)

Parameters

target
Uri

Target is the key with which associated credentials can be fetched

userCredentials
SavedCredentials

It is the in parameter which contains the username and password

storePasswordInCredentialCache
Boolean

Indicates that the password should be persisted to the credential cache

Applies to