Метод | Описание | |
---|---|---|
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, System config ) : void | ||
IsUserInRole ( string username, string roleName ) : bool | ||
RemoveUsersFromRoles ( string usernames, string roleNames ) : void | ||
RoleExists ( string roleName ) : bool |
public AddUsersToRoles ( string usernames, string roleNames ) : void | ||
usernames | string | |
roleNames | string | |
Результат | void |
public CreateRole ( string roleName ) : void | ||
roleName | string | |
Результат | void |
public DeleteRole ( string roleName, bool throwOnPopulatedRole ) : bool | ||
roleName | string | |
throwOnPopulatedRole | bool | |
Результат | bool |
public FindUsersInRole ( string roleName, string usernameToMatch ) : string[] | ||
roleName | string | |
usernameToMatch | string | |
Результат | string[] |
public GetRolesForUser ( string username ) : string[] | ||
username | string | |
Результат | string[] |
public GetUsersInRole ( string roleName ) : string[] | ||
roleName | string | |
Результат | string[] |
public Initialize ( string name, System config ) : void | ||
name | string | |
config | System | |
Результат | void |
public IsUserInRole ( string username, string roleName ) : bool | ||
username | string | |
roleName | string | |
Результат | bool |
public RemoveUsersFromRoles ( string usernames, string roleNames ) : void | ||
usernames | string | |
roleNames | string | |
Результат | void |
public RoleExists ( string roleName ) : bool | ||
roleName | string | |
Результат | bool |