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[] | ||
GetConnection ( ) : |
||
GetRolesForUser ( string username ) : string[] | ||
GetUsersInRole ( string roleName ) : string[] | ||
Initialize ( string name, |
||
IsUserInRole ( string username, string roleName ) : bool | ||
RemoveUsersFromRoles ( string usernames, string roleNames ) : void | ||
RoleExists ( string roleName ) : bool |
Méthode | Description | |
---|---|---|
GetConfigValue ( string configValue, string defaultValue ) : string | ||
GetRoleUsersKey ( string role ) : string | ||
GetRolesKey ( ) : string | ||
GetUserRolesKey ( string user ) : string | ||
OnConnectionError ( object sender, BookSleeve.ErrorEventArgs args ) : void | ||
WriteToEventLog ( |
public AddUsersToRoles ( string usernames, string roleNames ) : void | ||
usernames | string | |
roleNames | string | |
Résultat | void |
public CreateRole ( string roleName ) : void | ||
roleName | string | |
Résultat | void |
public DeleteRole ( string roleName, bool throwOnPopulatedRole ) : bool | ||
roleName | string | |
throwOnPopulatedRole | bool | |
Résultat | bool |
public FindUsersInRole ( string roleName, string usernameToMatch ) : string[] | ||
roleName | string | |
usernameToMatch | string | |
Résultat | string[] |
public GetConnection ( ) : |
||
Résultat |
public GetRolesForUser ( string username ) : string[] | ||
username | string | |
Résultat | string[] |
public GetUsersInRole ( string roleName ) : string[] | ||
roleName | string | |
Résultat | string[] |
public Initialize ( string name, |
||
name | string | |
config | ||
Résultat | void |
public IsUserInRole ( string username, string roleName ) : bool | ||
username | string | |
roleName | string | |
Résultat | bool |
public RemoveUsersFromRoles ( string usernames, string roleNames ) : void | ||
usernames | string | |
roleNames | string | |
Résultat | void |
public RoleExists ( string roleName ) : bool | ||
roleName | string | |
Résultat | bool |