Share via


CredentialManager.WriteCredentials Method (String, SavedCredentials, Boolean)

 

Applies To: Dynamics CRM 2015

Writes the credentials.

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

Syntax

public static void WriteCredentials(
    string target,
    SavedCredentials userCredentials,
    bool storePasswordInCredentialCache
)
public:
static void WriteCredentials(
    String^ target,
    SavedCredentials^ userCredentials,
    bool storePasswordInCredentialCache
)
static member WriteCredentials : 
        target:string *
        userCredentials:SavedCredentials *
        storePasswordInCredentialCache:bool -> unit
Public Shared Sub WriteCredentials (
    target As String,
    userCredentials As SavedCredentials,
    storePasswordInCredentialCache As Boolean
)

Parameters

  • target
    Type: System.String

    Target is the key with which associated credentials can be fetched

  • storePasswordInCredentialCache
    Type: System.Boolean

    Indicates that the password should be persisted to the credential cache

See Also

WriteCredentials Overload
CredentialManager Class
Microsoft.Xrm.Tooling.CrmConnectControl.Utility Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright