C# Class WebDemo.Areas.SecurityGuard.Controllers.RoleController

Inheritance: WebDemo.Controllers.BaseController
显示文件 Open project: mobile-devices/cloudconnect_dotnet_client

Public Methods

Method Description
GetAllRoles ( ) : System.Web.Mvc.ActionResult

This is an Ajax method that populates the Roles drop down list.

Index ( ) : System.Web.Mvc.ActionResult
RoleController ( ) : System

Private Methods

Method Description
CreateRole ( ) : System.Web.Mvc.ActionResult
CreateRole ( string roleName ) : System.Web.Mvc.ActionResult
DeleteRole ( string roleName ) : System.Web.Mvc.ActionResult
DeleteRoles ( string roles, bool throwOnPopulatedRole ) : System.Web.Mvc.ActionResult
GetUsersInRole ( string roleName ) : System.Web.Mvc.ActionResult

Method Details

GetAllRoles() public method

This is an Ajax method that populates the Roles drop down list.
public GetAllRoles ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

RoleController() public method

public RoleController ( ) : System
return System