CredentialManager.DeleteCredentials Method (String, Boolean)


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

Deletes the credentials.

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


public static void DeleteCredentials(
    string target,
    bool deletePasswordOnly
Public Shared Sub DeleteCredentials (
    target As String,
    deletePasswordOnly As Boolean


  • target
    Type: System.String

    Target is the key with which associated credentials can be fetched

  • deletePasswordOnly
    Type: System.Boolean

    Indicates that the password should be overwritten, but the credential should not be removed from the credential cache.

See Also

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright