ExtendedMembershipProvider.GetAccountsForUser Method
When overridden in a derived class, returns all OAuth membership accounts associated with the specified user name.
Namespace: WebMatrix.WebData
Assembly: WebMatrix.WebData (in WebMatrix.WebData.dll)
Syntax
'Declaration
Public MustOverride Function GetAccountsForUser ( _
userName As String _
) As ICollection(Of OAuthAccountData)
'Usage
Dim instance As ExtendedMembershipProvider
Dim userName As String
Dim returnValue As ICollection(Of OAuthAccountData)
returnValue = instance.GetAccountsForUser(userName)
public abstract ICollection<OAuthAccountData> GetAccountsForUser(
string userName
)
public:
virtual ICollection<OAuthAccountData^>^ GetAccountsForUser(
String^ userName
) abstract
abstract GetAccountsForUser :
userName:string -> ICollection<OAuthAccountData>
public abstract function GetAccountsForUser(
userName : String
) : ICollection<OAuthAccountData>
Parameters
- userName
Type: System.String
The user name.
Return Value
Type: System.Collections.Generic.ICollection<OAuthAccountData>
A list of all OAuth membership accounts associated with the specified user name.