| ApplicationUserStoreTUserGetPasswordHashAsync Method  | 
            Gets the password hash for the specified user.
            
 
Namespace: Kentico.MembershipAssembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntaxpublic Task<string> GetPasswordHashAsync(
	TUser user,
	CancellationToken cancellationToken
)
Parameters
- user
 - Type: TUser
The user whose password hash to retrieve. - cancellationToken
 - Type: System.ThreadingCancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled. 
Return Value
Type: 
TaskString
            The 
TaskTResult that represents the asynchronous operation, returning the password hash for the specified 
user.
            
Implements
IUserPasswordStore.GetPasswordHashAsync(UTP, CancellationToken)
Exceptions| Exception | Condition | 
|---|
| ArgumentNullException | user is null. | 
| InvalidOperationException | Thrown when the user is not found. | 
See Also