Package com.appliedolap.essbase
Interface EssGroup
- All Superinterfaces:
EssObject
- All Known Implementing Classes:
EssGroupImpl
A group on a server that owns its own security.
Every method here answers HTTP 400 "This operation is not supported" on a deployment behind an
external identity provider, which keeps its groups in the provider - see EssServer.getGroups().
Groups are only writable where Essbase is the directory.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.appliedolap.essbase.EssObject
EssObject.Type -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds groups as members of this group.voidAdds users to this group.voiddelete()Removes this group.getName()Gets the name of this object.getRole()The service-level role this group grants its members -User,Power UserorService Administrator.getType()Gets the type of this object.getUsers()Gets the user members that are in this group.voidremoveGroups(String... groupNames) Removes member groups from this group.voidremoveUsers(String... usernames) Removes users from this group.voidsetDescription(String description) Changes the description, leaving the role alone.voidChanges the role this group grants.
-
Method Details
-
getName
String getName()Description copied from interface:EssObjectGets the name of this object. This will generally be the "nice" and "unique" name of this object, such as the application name, cube, member, variable, or whatever. -
getType
EssObject.Type getType()Description copied from interface:EssObjectGets the type of this object. -
getServer
EssServer getServer() -
getDescription
String getDescription() -
getRole
String getRole()The service-level role this group grants its members -User,Power UserorService Administrator.- Returns:
- the role name as the server reports it
-
setDescription
Changes the description, leaving the role alone.- Parameters:
description- the new description
-
setRole
Changes the role this group grants.- Parameters:
role- the role name, asgetRole()reports it
-
delete
void delete()Removes this group. Its members are not removed - they simply stop being in it. -
getUsers
Gets the user members that are in this group.- Returns:
- the user members that are in this group.
-
addUsers
Adds users to this group.A user cannot add or remove themselves: Essbase refuses with "not allowed to perform self provisioning/de-provisioning" even for a service administrator. That is a server rule, not a permission that can be granted.
- Parameters:
usernames- the user IDs to add
-
removeUsers
Removes users from this group. They are not deleted, only unassigned.- Parameters:
usernames- the user IDs to remove
-
getGroups
-
addGroups
Adds groups as members of this group. Groups nest.- Parameters:
groupNames- the group names to add
-
removeGroups
Removes member groups from this group. They are not deleted, only unassigned.- Parameters:
groupNames- the group names to remove
-