UserManager Methods
Exposes API required to manage user objects in the database. Use Dependency Injection to access this class’s instance in a .NET 6+ application.
Name | Description |
---|---|
Access |
Increases the counter for failed login attempts by a specified user. If the counter value exceeds the limit, the user account is locked out. |
Add |
Adds login information required to store the specified user’s login data for the specified authentication provider. |
Create |
Creates a new user with the specified settings. |
Create |
Creates a new user with the specified settings. |
Create |
Creates a new user with the specified settings. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Find |
Finds an application user based on the specified user object ID. |
Find |
Finds an application user based on the specified user login information. |
Find |
Finds an application user based on the specified user name. |
Find |
Finds an application user based on the specified claims principal. |
Get |
Gets an authentication token for the specified user. |
Get |
Gets the current user’s Claims object.
|
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Takes a claims principal and returns the name of the login provider that produced this claims principal. |
Get |
Returns the value of the User ID claim from the specified claims principal. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Get |
Returns the value of the User Name claim from the specified claims principal. |
Is |
Gets a value that indicates whether the specified user account is locked out by “Brute Force” attack protection. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Reset |
Resets the account lockout for the specified user. |
To |
Returns a string that represents the current object. Inherited from Object. |
See Also