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

Inheritance: MvcApplication3.Controllers.BaseController
ファイルを表示 Open project: kahanu/MvcInstaller

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