Method Summary |
|
Group[] | getAllGroups() Returns all groups definded in the system.
An Array of all defined GroupsThis is useful for debugging, when you want to display all rolesand permissions an user is assigned. |
PermissionSet | getPermissions(Group group) Retrieves a set of Permissions an user is assigned in a Group. |
PermissionSet | getPermissions() Retrieves a set of Permissions an user is assigned in the global Group. |
RoleSet | getRoles(Group group) Retrieves a set of Roles an user is assigned in a Group. |
RoleSet | getRoles() Retrieves a set of Roles an user is assigned in the global Group. |
boolean | hasPermission(Permission permission, Group group) Checks if the user is assigned a specific Permission in the Group. |
boolean | hasPermission(Permission permission, GroupSet groupset) |
boolean | hasPermission(String permission, String group) Checks if the user is assigned a specific Permission in the Group. |
boolean | hasPermission(String permission, Group group) Checks if the user is assigned a specific Permission in the Group. |
boolean | hasPermission(String permissionName, GroupSet groupset) |
boolean | hasPermission(Permission permission) Checks if the user is assigned a specific Permission in the global Group. |
boolean | hasPermission(String permission) Checks if the user is assigned a specific Permission in the global Group. |
boolean | hasRole(Role role, Group group) Checks if the user is assigned a specific Role in the Group. |
boolean | hasRole(Role role, GroupSet groupset) |
boolean | hasRole(String role, String group) Checks if the user is assigned a specific Role in the Group. |
boolean | hasRole(String rolename, GroupSet groupset) |
boolean | hasRole(Role role) Checks if the user is assigned a specific Role in the global Group. |
boolean | hasRole(String role) Checks if the user is assigned a specific Role in the global Group. |