Language

IUserClaimStore<TUser, TKey>.RemoveClaimAsync Method (TUser, Claim)

 

Removes a user claim.

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

Syntax

Task RemoveClaimAsync(
    TUser user,
    Claim claim
)
Task^ RemoveClaimAsync(
    TUser user,
    Claim^ claim
)
abstract RemoveClaimAsync :
        user:'TUser *
        claim:Claim -> Task
Function RemoveClaimAsync (
    user As TUser,
    claim As Claim
) As Task

Parameters

  • user Type: TUser

    The user.

Return Value

Type: System.Threading.Tasks.Task

The task object representing the asynchronous operation.

See Also

IUserClaimStore<TUser, TKey> Interface Microsoft.AspNet.Identity Namespace [ASP.NET Identity](https://go.microsoft.com/fwlink/p/?linkid=393664.

Return to top