Modifier and Type | Class and Description |
---|---|
class |
GroupName
Represents the name of a group principal in the User Directory.
|
class |
UserName
Represents the name of a user principal in the User Directory.
|
Modifier and Type | Method and Description |
---|---|
PrincipalName |
SpotfirePrincipal.getName()
Returns the name.
|
PrincipalName |
AclEntry.getPrincipalName()
Returns the name of the principal (user or group) which this ACL entry is for.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<GroupPrincipal> |
UserDirectoryService.getAllGroups(PrincipalName principalName)
Returns the groups (immediate or otherwise) that the given principal (user or group) is a member of.
|
java.util.List<GroupPrincipal> |
UserDirectoryService.getImmediateGroups(PrincipalName principalName)
Returns the immediate groups that the given principal (user or group) is a member of.
|
boolean |
UserDirectoryService.isMember(GroupName groupName,
PrincipalName principalName)
Returns true if the given principal (user or group) is a member (immediate or otherwise) of the given group.
|
void |
UserDirectoryService.setDisplayName(PrincipalName principalName,
java.lang.String displayName)
Sets the display name for the given principal (user or group).
|
void |
UserDirectoryService.setEmail(PrincipalName principalName,
java.lang.String email)
Sets the e-mail address for the given principal (user or group).
|
void |
UserDirectoryService.setName(PrincipalName principalName,
java.lang.String name)
Sets the name for the given principal (user or group).
|
Modifier and Type | Method and Description |
---|---|
void |
UserDirectoryService.addMembers(GroupName groupName,
java.util.List<PrincipalName> memberNames)
Adds the given principals (users or groups) to the given group.
|
void |
UserDirectoryService.removeMembers(GroupName groupName,
java.util.List<PrincipalName> memberNames)
Removes the given principals (users or groups) from the given group.
|
void |
UserDirectoryService.removePrincipals(java.util.List<PrincipalName> principalNames)
Removes the given principals (users and groups).
|
void |
UserDirectoryService.setMembers(GroupName groupName,
java.util.List<PrincipalName> memberNames)
Sets the given principals (users or groups) as members of the given group.
|
Copyright © 2013-2020 TIBCO Software Inc. All Rights Reserved.