RoleManagerExtensions Class

Extension methods for IRoleManager

System.Object
  Microsoft.AspNet.Identity.RoleManagerExtensions

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

public static class RoleManagerExtensions

The RoleManagerExtensions type exposes the following members.

  NameDescription
Public methodStatic memberCreate<TRole>Create a role
Public methodStatic memberFindById<TRole>Find a role by id
Public methodStatic memberFindByName<TRole>Find a role by name
Public methodStatic memberRoleExists<TRole>Returns true if the role exists
Public methodStatic memberUpdate<TRole>Update an existing role
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: