|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use GroupPrincipal | |
|---|---|
| com.spotfire.server.userdir | Package containing API for modifying users and groups in the server. |
| Uses of GroupPrincipal in com.spotfire.server.userdir |
|---|
| Methods in com.spotfire.server.userdir that return GroupPrincipal | |
|---|---|
GroupPrincipal |
UserDirectory.createGroupPrincipal(String name)
Creates a new group principal in the directory. |
GroupPrincipal |
UserDirectory.getAdministratorGroup()
Returns the administrator group principal. |
GroupPrincipal[] |
UserDirectory.getDefaultGroups()
Returns an array containing the default groups on the server. |
GroupPrincipal |
UserDirectory.getGroupPrincipal(String name)
Returns the group principal with the specified name from the directory. |
GroupPrincipal[] |
UserDirectory.getGroupPrincipals()
Returns an array containing all group principals in the directory. |
GroupPrincipal[] |
UserDirectory.getGroupPrincipals(String regExp)
Returns an array containing all group principals with names that matches the given regular expression. |
GroupPrincipal[] |
UserDirectory.getGroups(SpotfirePrincipal principal)
Returns an array containing all groups of which the specified principal is an immediate member. |
GroupPrincipal[] |
UserDirectory.getImmutableGroups()
Returns an array containing all immutable groups on the server. |
GroupPrincipal |
UserDirectory.getPrimaryGroup(SpotfirePrincipal principal)
Returns the specified principal's primary group. |
| Methods in com.spotfire.server.userdir with parameters of type GroupPrincipal | |
|---|---|
void |
UserDirectory.addMember(GroupPrincipal group,
SpotfirePrincipal principal)
Adds a member to a group principal in the directory. |
SpotfirePrincipal[] |
UserDirectory.getMembers(GroupPrincipal group)
Returns an array containing all immediate members (both users and other groups) of a group in the directory. |
boolean |
UserDirectory.isDefaultGroup(GroupPrincipal group)
|
boolean |
UserDirectory.isImmutableGroup(GroupPrincipal group)
|
boolean |
UserDirectory.isMember(GroupPrincipal group,
SpotfirePrincipal principal)
Check if a principal is member of a group. |
void |
UserDirectory.removeMember(GroupPrincipal group,
SpotfirePrincipal principal)
Removes a member from a group in the directory. |
void |
UserDirectory.setGroups(SpotfirePrincipal principal,
GroupPrincipal[] groups)
Set all groups that a principal belongs to. |
void |
UserDirectory.setMembers(GroupPrincipal group,
SpotfirePrincipal[] principals)
Sets all members of a group. |
void |
UserDirectory.setPrimaryGroup(SpotfirePrincipal principal,
GroupPrincipal primaryGroup)
Sets the primary group for the specified principal. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||