CredentialManager.WriteCredentials Method (String, SavedCredentials, Boolean)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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 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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright