OAuthWebSecurity.DeleteAccount(String, String) Method

Definition

Deletes the specified membership account.

public static bool DeleteAccount (string providerName, string providerUserId);
static member DeleteAccount : string * string -> bool
Public Shared Function DeleteAccount (providerName As String, providerUserId As String) As Boolean

Parameters

providerName
String

The provider name.

providerUserId
String

The user ID for the specified provider.

Returns

true if the account was deleted, or false if it was not.

Applies to