Share via


UserManager<TUser, TKey>.UpdateSecurityStampAsync Method (TKey)

 

Generates a new security stamp for a user, used for SignOutEverywhere functionality.

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

Syntax

public virtual Task<IdentityResult> UpdateSecurityStampAsync(
    TKey userId
)
public:
virtual Task<IdentityResult^>^ UpdateSecurityStampAsync(
    TKey userId
)
abstract UpdateSecurityStampAsync : 
        userId:'TKey -> Task<IdentityResult>
override UpdateSecurityStampAsync : 
        userId:'TKey -> Task<IdentityResult>
Public Overridable Function UpdateSecurityStampAsync (
    userId As TKey
) As Task(Of IdentityResult)

Parameters

  • userId
    Type: TKey

    The user ID.

Return Value

Type: System.Threading.Tasks.Task<IdentityResult>

The task representing the asynchronous operation.

See Also

UserManager<TUser, TKey> Class
Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top