RoleManagerExtensions Class
Extension methods for IRoleManager
Inheritance Hierarchy
System.Object
Microsoft.AspNet.Identity.RoleManagerExtensions
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class RoleManagerExtensions
'Usage
public static class RoleManagerExtensions
[ExtensionAttribute]
public ref class RoleManagerExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type RoleManagerExtensions = class end
public final class RoleManagerExtensions
The RoleManagerExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
Create<TRole> | Create a role | |
FindById<TRole> | Find a role by id | |
FindByName<TRole> | Find a role by name | |
RoleExists<TRole> | Returns true if the role exists | |
Update<TRole> | Update an existing role |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.