ExtendedMembershipProvider.CreateOrUpdateOAuthAccount Method

When overridden in a derived class, creates a new OAuth membership account, or updates an existing OAuth Membership account.

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

Syntax

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

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

Parameters

  • 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