| ApplicationUserStoreTUserFindByIdAsync Method (Int32, CancellationToken) | 
            Finds and returns a user, if any, who has the specified userId.
            
 
Namespace: Kentico.MembershipAssembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntaxpublic Task<TUser> FindByIdAsync(
	int userId,
	CancellationToken cancellationToken
)
Parameters
- userId
 - Type: SystemInt32
The user identifier. - cancellationToken
 - Type: System.ThreadingCancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled. 
Return Value
Type: 
TaskTUser
            The 
TaskTResult that represents the asynchronous operation, containing the user matching the specified 
userId if it exists.
            
See Also