C# Class Web.Infrastructure.Membership.JsRoleProvider

Inheritance: System.Web.Security.RoleProvider
Afficher le fichier Open project: lgn/CurrentProject

Méthodes publiques

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

Private Methods

Méthode Description
GetConfigValue ( string configValue, string defaultValue ) : string
GetRole ( string roleName ) : Role
WriteToEventLog ( Exception e, string action ) : void

Method Details

AddUsersToRoles() public méthode

public AddUsersToRoles ( string usernames, string rolenames ) : void
usernames string
rolenames string
Résultat void

CreateRole() public méthode

public CreateRole ( string rolename ) : void
rolename string
Résultat void

DeleteRole() public méthode

public DeleteRole ( string rolename, bool throwOnPopulatedRole ) : bool
rolename string
throwOnPopulatedRole bool
Résultat bool

FindUsersInRole() public méthode

public FindUsersInRole ( string rolename, string usernameToMatch ) : string[]
rolename string
usernameToMatch string
Résultat string[]

GetAllRoles() public méthode

public GetAllRoles ( ) : string[]
Résultat string[]

GetRolesForUser() public méthode

public GetRolesForUser ( string username ) : string[]
username string
Résultat string[]

GetUsersInRole() public méthode

public GetUsersInRole ( string rolename ) : string[]
rolename string
Résultat string[]

Initialize() public méthode

public Initialize ( string name, NameValueCollection config ) : void
name string
config System.Collections.Specialized.NameValueCollection
Résultat void

IsUserInRole() public méthode

public IsUserInRole ( string username, string rolename ) : bool
username string
rolename string
Résultat bool

RemoveUsersFromRoles() public méthode

public RemoveUsersFromRoles ( string usernames, string rolenames ) : void
usernames string
rolenames string
Résultat void

RoleExists() public méthode

public RoleExists ( string rolename ) : bool
rolename string
Résultat bool