C# Class KendoGridBinderEx.Examples.Security.MyRoleProvider

Inheritance: System.Web.Security.RoleProvider
Mostra file Open project: StefH/KendoGridBinderEx

Private Properties

Property Type Description

Public Methods

Method Description
AddUsersToRoles ( string userNames, string roleNames ) : void
CreateRole ( string roleName ) : void
DeleteRole ( string roleName, bool throwOnPopulatedRole ) : bool
FindUsersInRole ( string roleName, string usernameToMatch ) : string[]
GetAllRoles ( ) : string[]
GetRolesForUser ( string userName ) : string[]
GetUsersInRole ( string roleName ) : string[]
IsUserInRole ( string userName, string roleName ) : bool
RemoveUsersFromRoles ( string userNames, string roleNames ) : void
RoleExists ( string roleName ) : bool

Method Details

AddUsersToRoles() public method

public AddUsersToRoles ( string userNames, string roleNames ) : void
userNames string
roleNames string
return void

CreateRole() public method

public CreateRole ( string roleName ) : void
roleName string
return void

DeleteRole() public method

public DeleteRole ( string roleName, bool throwOnPopulatedRole ) : bool
roleName string
throwOnPopulatedRole bool
return bool

FindUsersInRole() public method

public FindUsersInRole ( string roleName, string usernameToMatch ) : string[]
roleName string
usernameToMatch string
return string[]

GetAllRoles() public method

public GetAllRoles ( ) : string[]
return string[]

GetRolesForUser() public method

public GetRolesForUser ( string userName ) : string[]
userName string
return string[]

GetUsersInRole() public method

public GetUsersInRole ( string roleName ) : string[]
roleName string
return string[]

IsUserInRole() public method

public IsUserInRole ( string userName, string roleName ) : bool
userName string
roleName string
return bool

RemoveUsersFromRoles() public method

public RemoveUsersFromRoles ( string userNames, string roleNames ) : void
userNames string
roleNames string
return void

RoleExists() public method

public RoleExists ( string roleName ) : bool
roleName string
return bool