RoleManagerExtensions Class
Represents extension methods for RoleManager.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Inheritance Hierarchy
System.Object
Microsoft.AspNet.Identity.RoleManagerExtensions
Syntax
public static class RoleManagerExtensions
[ExtensionAttribute]
public ref class RoleManagerExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type RoleManagerExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class RoleManagerExtensions
Methods
Name | Description | |
---|---|---|
![]() ![]() |
Create<TRole, TKey>(RoleManager<TRole, TKey>, TRole) | Creates a role. |
![]() ![]() |
Delete<TRole, TKey>(RoleManager<TRole, TKey>, TRole) | Deletes a role. |
![]() ![]() |
FindById<TRole, TKey>(RoleManager<TRole, TKey>, TKey) | Finds a role by ID. |
![]() ![]() |
FindByName<TRole, TKey>(RoleManager<TRole, TKey>, String) | Finds a role by name. |
![]() ![]() |
RoleExists<TRole, TKey>(RoleManager<TRole, TKey>, String) | Determines whether the role exists. |
![]() ![]() |
Update<TRole, TKey>(RoleManager<TRole, TKey>, TRole) | Updates an existing role. |
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.
See Also
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top