RoleManager<TRole> Methods

The RoleManager<TRole> type exposes the following members.

Methods

  Name Description
Public method CreateAsync Create a role
Public method Dispose() Dispose the store context
Protected method Dispose(Boolean) When disposing, actually dipose the store context
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindByIdAsync Find a role by id
Public method FindByNameAsync Find a role by name
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RoleExistsAsync Returns true if the role exists
Public method ToString (Inherited from Object.)
Public method UpdateAsync Update an existing role

Top

Extension Methods

  Name Description
Public Extension Method Create<TRole> Create a role (Defined by RoleManagerExtensions.)
Public Extension Method FindById<TRole> Find a role by id (Defined by RoleManagerExtensions.)
Public Extension Method FindByName<TRole> Find a role by name (Defined by RoleManagerExtensions.)
Public Extension Method RoleExists<TRole> Returns true if the role exists (Defined by RoleManagerExtensions.)
Public Extension Method Update<TRole> Update an existing role (Defined by RoleManagerExtensions.)

Top

See Also

Reference

RoleManager<TRole> Class

Microsoft.AspNet.Identity Namespace