KenticoRoleStore Class |
Namespace: Kentico.Membership
public class KenticoRoleStore : ApplicationRoleStore<Role>, IRoleStore<Role, int>, IDisposable
The KenticoRoleStore type exposes the following members.
Name | Description | |
---|---|---|
KenticoRoleStore |
Initializes a new instance of the KenticoRoleStore class.
|
Name | Description | |
---|---|---|
CreateAsync(Role) |
Stores Role in the database.
| |
CreateAsync(TRole, CancellationToken) |
Creates a new role in a store as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.) | |
DeleteAsync(Role) |
Deletes Role from the database.
| |
DeleteAsync(TRole, CancellationToken) |
Deletes a role from the store as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.) | |
Dispose |
Performs tasks to dispose the role store.
(Inherited from ApplicationRoleStoreTRole.) | |
Dispose(Boolean) |
Disposes the role store.
(Inherited from ApplicationRoleStoreTRole.) | |
FindByIdAsync(Int32) |
Returns instance of Role.
| |
FindByIdAsync(Int32, CancellationToken) |
Finds the role who has the specified ID as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.) | |
FindByIdAsync(String, CancellationToken) |
Finds the role who has the specified ID as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.) | |
FindByNameAsync(String) |
Returns instance of Role.
| |
FindByNameAsync(String, CancellationToken) |
Finds the role who has the specified normalized name as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.) | |
GetNormalizedRoleNameAsync |
Get a role's normalized name as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.) | |
GetRoleIdAsync |
Gets the ID for a role from the store as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.) | |
GetRoleNameAsync |
Gets the name of a role from the store as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.) | |
SetNormalizedRoleNameAsync |
Set a role's normalized name as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.) | |
SetRoleNameAsync |
Sets the name of a role in the store as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.) | |
ThrowIfDisposed |
Throws if this class has been disposed.
(Inherited from ApplicationRoleStoreTRole.) | |
UpdateAsync(Role) |
Updates Role in the database.
| |
UpdateAsync(TRole, CancellationToken) |
Updates a role in a store as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.) |