UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.GetClaimsAsync Method (TUser)

 

Asynchronously returns the claims for a user.

Namespace:   Microsoft.AspNet.Identity.EntityFramework
Assembly:  Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)

Syntax

public virtual Task<IList<Claim>> GetClaimsAsync(
    TUser user
)
public:
virtual Task<IList<Claim^>^>^ GetClaimsAsync(
    TUser user
)
abstract GetClaimsAsync : 
        user:'TUser -> Task<IList<Claim>>
override GetClaimsAsync : 
        user:'TUser -> Task<IList<Claim>>
Public Overridable Function GetClaimsAsync (
    user As TUser
) As Task(Of IList(Of Claim))

Parameters

  • user
    Type: TUser

    The user.

Return Value

Type: System.Threading.Tasks.Task<IList<Claim>>

The task representing the asynchronous operation.

Implements

IUserClaimStore<TUser, TKey>.GetClaimsAsync(TUser)

See Also

UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity

Return to top