OAuthWebSecurity.GetAccountsFromUserName(String) Method

Definition

Gets the account or accounts that are associated using the specified user name.

public static System.Collections.Generic.ICollection<Microsoft.Web.WebPages.OAuth.OAuthAccount> GetAccountsFromUserName (string userName);
static member GetAccountsFromUserName : string -> System.Collections.Generic.ICollection<Microsoft.Web.WebPages.OAuth.OAuthAccount>
Public Shared Function GetAccountsFromUserName (userName As String) As ICollection(Of OAuthAccount)

Parameters

userName
String

The user name.

Returns

The collection of accounts.

Applies to