C# Class ErrorRoleProvider, gert

Inheritance: RoleProvider
ファイルを表示 Open project: mono/gert

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[]
Initialize ( string name, NameValueCollection config ) : void
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[]

Initialize() public method

public Initialize ( string name, NameValueCollection config ) : void
name string
config NameValueCollection
return void

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