OAuthWebSecurity.GetAccountsFromUserName(String) 方法

定義

取得使用所指定使用者名稱建立關聯的一或多個帳戶。

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)

參數

userName
String

使用者名稱。

傳回

帳戶的集合。

適用於