OAuthWebSecurity.GetUserName(String, String) OAuthWebSecurity.GetUserName(String, String) OAuthWebSecurity.GetUserName(String, String) Method

Definition

Returns the user ID for the specified OAuth or OpenID provider and provider user ID.

public static string GetUserName (string providerName, string providerUserId);
static member GetUserName : string * string -> string
Public Shared Function GetUserName (providerName As String, providerUserId As String) As String
Parameters
providerName
String String String

The provider name.

providerUserId
String String String

The user ID for the specified provider.

Returns

The user ID, or null if there is no user ID associated with the OAuth or Open ID provider user ID.

Applies to