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 | Description | |
---|---|---|
GetRoles ( ) : AppRole[] | ||
SaveRoles ( IEnumerable |
public AddUsersToRoles ( string usernames, string roleNames ) : void | ||
usernames | string | |
roleNames | string | |
return | void |
public DeleteRole ( string roleName, bool throwOnPopulatedRole ) : bool | ||
roleName | string | |
throwOnPopulatedRole | bool | |
return | bool |
public FindUsersInRole ( string roleName, string usernameToMatch ) : string[] | ||
roleName | string | |
usernameToMatch | string | |
return | string[] |
public GetRolesForUser ( string username ) : string[] | ||
username | string | |
return | string[] |
public GetUsersInRole ( string roleName ) : string[] | ||
roleName | string | |
return | string[] |
public IsUserInRole ( string username, string roleName ) : bool | ||
username | string | |
roleName | string | |
return | bool |
public RemoveUsersFromRoles ( string usernames, string roleNames ) : void | ||
usernames | string | |
roleNames | string | |
return | void |