Share via


ExtendedMembershipProvider.CreateOrUpdateOAuthAccount Method

Definition

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

public virtual void CreateOrUpdateOAuthAccount (string provider, string providerUserId, string userName);
abstract member CreateOrUpdateOAuthAccount : string * string * string -> unit
override this.CreateOrUpdateOAuthAccount : string * string * string -> unit
Public Overridable Sub CreateOrUpdateOAuthAccount (provider As String, providerUserId As String, userName As String)

Parameters

provider
String

The OAuth or OpenID provider.

providerUserId
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.

userName
String

The user name.

Applies to