Click or drag to resize
ApplicationRoleStoreTRole Class
Identity role store implementation.
Inheritance Hierarchy
SystemObject
  Kentico.MembershipApplicationRoleStoreTRole
    Kentico.MembershipKenticoRoleStore

Namespace: Kentico.Membership
Assembly: Kentico.Membership (in Kentico.Membership.dll) Version: 13.0.131
Syntax
C#
public class ApplicationRoleStore<TRole> : IRoleStore<TRole>, 
	IDisposable
where TRole : new(), ApplicationRole

Type Parameters

TRole

The ApplicationRoleStoreTRole type exposes the following members.

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