Jaa


CredentialManager.WriteCredentials Method (Uri, 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(
    Uri target,
    SavedCredentials userCredentials,
    bool storePasswordInCredentialCache
)
public:
static void WriteCredentials(
    Uri^ target,
    SavedCredentials^ userCredentials,
    bool storePasswordInCredentialCache
)
static member WriteCredentials : 
        target:Uri *
        userCredentials:SavedCredentials *
        storePasswordInCredentialCache:bool -> unit
Public Shared Sub WriteCredentials (
    target As Uri,
    userCredentials As SavedCredentials,
    storePasswordInCredentialCache As Boolean
)

Parameters

  • target
    Type: System.Uri

    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