Package ch.ivyteam.ivy.security.user
Interface IRoleUsers
public interface IRoleUsers
Provide methods to get
users
that own a role
by:
- directly assigned to it (
assignedPaged()
,assignedPaged(int)
) - directly assigned to it or assigned to a
child role
ormember role
(allPaged()
,allPaged(int)
).
- Since:
- 8.0.3
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionallPaged()
Gets all users that own this role.allPaged
(int pageSize) Gets all users that own this role.Gets all users that are directly assigned to this roleassignedPaged
(int pageSize) Gets all users that are directly assigned to this role
-
Method Details
-
assignedPaged
IPagedResult<IUser> assignedPaged()Gets all users that are directly assigned to this role
This method uses a default, system defined page size (1000) which does not harm memory and provides still good performance.
- Returns:
- directly assigned users
- See Also:
- API:
- This public API is available in Java.
- Security:
- SESSION OWNS RoleReadUsers PERMISSION OR OWNS RoleReadUsers@SYSTEM PERMISSION
-
assignedPaged
Gets all users that are directly assigned to this role- Parameters:
pageSize
- the maximum number of users loaded at once into memory On paged UI tables the number of objects you display on a single page.- Returns:
- directly assigned users
- See Also:
- API:
- This public API is available in Java.
- Security:
- SESSION OWNS RoleReadUsers PERMISSION OR OWNS RoleReadUsers@SYSTEM PERMISSION
-
allPaged
IPagedResult<IUser> allPaged()Gets all users that own this role. Either by direct assignment or by assignment to a
child role
ormember role
.This method uses a default, system defined page size (1000) which does not harm memory and provides still good performance.
- Returns:
- directly assigned users
- See Also:
- API:
- This public API is available in Java.
- Security:
- SESSION OWNS RoleReadUsers PERMISSION OR OWNS RoleReadUsers@SYSTEM PERMISSION
-
allPaged
Gets all users that own this role. Either by direct assignment or by assignment to achild role
ormember role
.- Parameters:
pageSize
- the maximum number of users loaded at once into memory On paged UI tables the number of objects you display on a single page.- Returns:
- directly assigned users
- See Also:
- API:
- This public API is available in Java.
- Security:
- SESSION OWNS RoleReadUsers PERMISSION OR OWNS RoleReadUsers@SYSTEM PERMISSION
-