OAuthWebSecurity.GetAccountsFromUserName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.