Click or drag to resize
KenticoRoleStore Class
Identity role store implementation.
Inheritance Hierarchy
SystemObject
  Kentico.MembershipApplicationRoleStoreRole
    Kentico.MembershipKenticoRoleStore
      Kentico.MembershipRoleStore

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax
C#
public class KenticoRoleStore : ApplicationRoleStore<Role>, 
	IRoleStore<Role, int>, IDisposable

The KenticoRoleStore type exposes the following members.

Constructors
  NameDescription
Public methodKenticoRoleStore
Initializes a new instance of the KenticoRoleStore class.
Top
Methods
  NameDescription
Public methodCreateAsync(Role)
Stores Role in the database.
Public methodCreateAsync(TRole, CancellationToken)
Creates a new role in a store as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.)
Public methodDeleteAsync(Role)
Deletes Role from the database.
Public methodDeleteAsync(TRole, CancellationToken)
Deletes a role from the store as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.)
Public methodDispose
Performs tasks to dispose the role store.
(Inherited from ApplicationRoleStoreTRole.)
Protected methodDispose(Boolean)
Disposes the role store.
(Inherited from ApplicationRoleStoreTRole.)
Public methodFindByIdAsync(Int32)
Returns instance of Role.
Public methodFindByIdAsync(Int32, CancellationToken)
Finds the role who has the specified ID as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.)
Public methodFindByIdAsync(String, CancellationToken)
Finds the role who has the specified ID as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.)
Public methodFindByNameAsync(String)
Returns instance of Role.
Public methodFindByNameAsync(String, CancellationToken)
Finds the role who has the specified normalized name as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.)
Public methodGetNormalizedRoleNameAsync
Get a role's normalized name as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.)
Public methodGetRoleIdAsync
Gets the ID for a role from the store as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.)
Public methodGetRoleNameAsync
Gets the name of a role from the store as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.)
Public methodSetNormalizedRoleNameAsync
Set a role's normalized name as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.)
Public methodSetRoleNameAsync
Sets the name of a role in the store as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.)
Protected methodThrowIfDisposed
Throws if this class has been disposed.
(Inherited from ApplicationRoleStoreTRole.)
Public methodUpdateAsync(Role)
Updates Role in the database.
Public methodUpdateAsync(TRole, CancellationToken)
Updates a role in a store as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.)
Top
See Also