IUserClaimStore<TUser>.AddClaimAsync Method
Add a new user claim
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
'Declaration
Function AddClaimAsync ( _
user As TUser, _
claim As Claim _
) As Task
'Usage
Dim instance As IUserClaimStore
Dim user As TUser
Dim claim As Claim
Dim returnValue As Task
returnValue = instance.AddClaimAsync(user, _
claim)
Task AddClaimAsync(
TUser user,
Claim claim
)
Task^ AddClaimAsync(
TUser user,
Claim^ claim
)
abstract AddClaimAsync :
user:'TUser *
claim:Claim -> Task
function AddClaimAsync(
user : TUser,
claim : Claim
) : Task
Parameters
- user
Type: TUser
- claim
Type: Claim
Return Value
Type: System.Threading.Tasks.Task