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

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

Public Methods

Method Description
CreateUser ( ) : System.Web.Mvc.ActionResult
GrantRolesToUser ( string username ) : System.Web.Mvc.ActionResult

Return two lists: 1) a list of Roles not granted to the user 2) a list of Roles granted to the user

Index ( string filterby, string searchterm ) : System.Web.Mvc.ActionResult
MembershipController ( ) : System

Private Methods

Method Description
ApproveDeny ( string userName ) : System.Web.Mvc.ActionResult
Cancel ( ) : System.Web.Mvc.ActionResult
CheckForUniqueUser ( string userName ) : System.Web.Mvc.ActionResult
CreateUser ( WebDemo.Areas.SecurityGuard.ViewModels model ) : System.Web.Mvc.ActionResult
DeleteUser ( string UserName ) : System.Web.Mvc.ActionResult
GrantRolesToUser ( string userName, string roles ) : System.Web.Mvc.ActionResult
RevokeRolesForUser ( string userName, string roles ) : System.Web.Mvc.ActionResult
Unlock ( string userName ) : System.Web.Mvc.ActionResult
Update ( string userName ) : System.Web.Mvc.ActionResult
UpdateUser ( string UserName ) : System.Web.Mvc.ActionResult

Method Details

CreateUser() public method

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

GrantRolesToUser() public method

Return two lists: 1) a list of Roles not granted to the user 2) a list of Roles granted to the user
public GrantRolesToUser ( string username ) : System.Web.Mvc.ActionResult
username string
return System.Web.Mvc.ActionResult

Index() public method

public Index ( string filterby, string searchterm ) : System.Web.Mvc.ActionResult
filterby string
searchterm string
return System.Web.Mvc.ActionResult

MembershipController() public method

public MembershipController ( ) : System
return System