UserManager<TUser>.UpdateSecurityStampAsync Method
Generate 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
'Declaration
Public Overridable Function UpdateSecurityStampAsync ( _
userId As String _
) As Task(Of IdentityResult)
'Usage
Dim instance As UserManager
Dim userId As String
Dim returnValue As Task(Of IdentityResult)
returnValue = instance.UpdateSecurityStampAsync(userId)
public virtual Task<IdentityResult> UpdateSecurityStampAsync(
string userId
)
public:
virtual Task<IdentityResult^>^ UpdateSecurityStampAsync(
String^ userId
)
abstract UpdateSecurityStampAsync :
userId:string -> Task<IdentityResult>
override UpdateSecurityStampAsync :
userId:string -> Task<IdentityResult>
public function UpdateSecurityStampAsync(
userId : String
) : Task<IdentityResult>
Parameters
- userId
Type: System.String
Return Value
Type: System.Threading.Tasks.Task<IdentityResult>