Share via


OAuthWebSecurity.CreateOrUpdateAccount(String, String, String) Method

Definition

Creates or updates the account using the specified provider and user ID for the provider ID and associate the new account with the specified user name.

public static void CreateOrUpdateAccount (string providerName, string providerUserId, string userName);
static member CreateOrUpdateAccount : string * string * string -> unit
Public Shared Sub CreateOrUpdateAccount (providerName As String, providerUserId As String, userName As String)

Parameters

providerName
String

The provider name.

providerUserId
String

The user ID for the specified provider.

userName
String

The name of the user.

Applies to