Share via


ExtendedMembershipProvider.DeleteOAuthAccount Method

When overridden in a derived class, deletes the OAuth or OpenID account with the specified provider name and provider user ID.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

Syntax

'Declaration
Public Overridable Sub DeleteOAuthAccount ( _
    provider As String, _
    providerUserId As String _
)
'Usage
Dim instance As ExtendedMembershipProvider 
Dim provider As String 
Dim providerUserId As String

instance.DeleteOAuthAccount(provider, _
    providerUserId)
public virtual void DeleteOAuthAccount(
    string provider,
    string providerUserId
)
public:
virtual void DeleteOAuthAccount(
    String^ provider, 
    String^ providerUserId
)
abstract DeleteOAuthAccount : 
        provider:string * 
        providerUserId:string -> unit  
override DeleteOAuthAccount : 
        provider:string * 
        providerUserId:string -> unit
public function DeleteOAuthAccount(
    provider : String, 
    providerUserId : String
)

Parameters

  • provider
    Type: System.String
    The name of the OAuth or OpenID provider.
  • providerUserId
    Type: System.String
    The OAuth or OpenID provider user ID. This is not the user ID of the user account, but the user ID on the OAuth or Open ID provider.

See Also

Reference

ExtendedMembershipProvider Class

WebMatrix.WebData Namespace