UserManager<TUser>.GenerateConcurrencyStampAsync(TUser) Method

Definition

Generates a value suitable for use in concurrency tracking.

public:
 virtual System::Threading::Tasks::Task<System::String ^> ^ GenerateConcurrencyStampAsync(TUser user);
public virtual System.Threading.Tasks.Task<string> GenerateConcurrencyStampAsync (TUser user);
abstract member GenerateConcurrencyStampAsync : 'User -> System.Threading.Tasks.Task<string>
override this.GenerateConcurrencyStampAsync : 'User -> System.Threading.Tasks.Task<string>
Public Overridable Function GenerateConcurrencyStampAsync (user As TUser) As Task(Of String)

Parameters

user
TUser

The user to generate the stamp for.

Returns

Task<String>

The Task that represents the asynchronous operation, containing the security stamp for the specified user.

Applies to