IUserClaimStore<TUser, TKey>.RemoveClaimAsync Method
Removes a user claim.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
'Declaration
Function RemoveClaimAsync ( _
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.RemoveClaimAsync(user, _
claim)
Task RemoveClaimAsync(
TUser user,
Claim claim
)
Task^ RemoveClaimAsync(
TUser user,
Claim^ claim
)
abstract RemoveClaimAsync :
user:'TUser *
claim:Claim -> Task
function RemoveClaimAsync(
user : TUser,
claim : Claim
) : Task
Parameters
- user
Type: TUser
The user.
- claim
Type: Claim
The claim to remove.
Return Value
Type: System.Threading.Tasks.Task
The task object representing the asynchronous operation.
See Also
Reference
IUserClaimStore<TUser, TKey> Interface
Microsoft.AspNet.Identity Namespace