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

Inheritance: WebDemo.Controllers.BaseController
Afficher le fichier Open project: mobile-devices/cloudconnect_dotnet_client

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CreateUser ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

GrantRolesToUser() public méthode

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
Résultat System.Web.Mvc.ActionResult

Index() public méthode

public Index ( string filterby, string searchterm ) : System.Web.Mvc.ActionResult
filterby string
searchterm string
Résultat System.Web.Mvc.ActionResult

MembershipController() public méthode

public MembershipController ( ) : System
Résultat System