Click or drag to resize
RoleStore Class

Note: This API is now obsolete.

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#
[ObsoleteAttribute("Use KenticoRoleStore instead.")]
public class RoleStore : KenticoRoleStore

The RoleStore type exposes the following members.

Constructors
  NameDescription
Public methodRoleStore
Top
Methods
  NameDescription
Public methodCreateAsync(Role)
Stores Role in the database.
(Inherited from KenticoRoleStore.)
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.
(Inherited from KenticoRoleStore.)
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.
(Inherited from KenticoRoleStore.)
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.
(Inherited from KenticoRoleStore.)
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.
(Inherited from KenticoRoleStore.)
Public methodUpdateAsync(TRole, CancellationToken)
Updates a role in a store as an asynchronous operation.
(Inherited from ApplicationRoleStoreTRole.)
Top
See Also