SimpleMembershipProvider.GetAccountsForUser(String) メソッド

定義

指定されたユーザー名に関連付けられている OAuth メンバーシップ アカウントを返します。

public override System.Collections.Generic.ICollection<WebMatrix.WebData.OAuthAccountData> GetAccountsForUser (string userName);
override this.GetAccountsForUser : string -> System.Collections.Generic.ICollection<WebMatrix.WebData.OAuthAccountData>
Public Overrides Function GetAccountsForUser (userName As String) As ICollection(Of OAuthAccountData)

パラメーター

userName
String

ユーザー名です。

戻り値

指定したユーザー名に関連付けられているすべての OAuth メンバーシップ アカウントの一覧。

例外

クラスは SimpleMembershipProvider 、 メソッドの InitializeDatabaseConnection 呼び出しを使用して初期化されませんでした。

適用対象