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.
|
GroupPrincipal |
UserDirectoryService.createGroup(java.lang.String groupname,
java.lang.String displayName,
java.lang.String email)
Creates a new group.
|
UserPrincipal |
UserDirectoryService.createUser(java.lang.String username,
java.lang.String domainName,
java.lang.String displayName,
java.lang.String email,
java.lang.String password)
Creates a new user.
|
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.
|
GroupPrincipal |
UserDirectoryService.getGroupById(Guid id)
Returns a GroupPrincipal object representing the group with the given ID.
|
GroupPrincipal |
UserDirectoryService.getGroupByName(GroupName groupName)
Returns the group principal with the given name (consisting of both a name component and a domain).
|
java.util.List<GroupPrincipal> |
UserDirectoryService.getImmediateGroups(PrincipalName principalName)
Returns the immediate groups that the given principal (user or group) is a member of.
|
java.util.List<SpotfirePrincipal> |
UserDirectoryService.getMembers(GroupName groupName)
Returns the immediate members of the given group.
|
UserPrincipal |
UserDirectoryService.getUserById(Guid id)
Returns the user with the given ID.
|
UserPrincipal |
UserDirectoryService.getUserByName(UserName userName)
Returns the user principal with the given name (consisting of both a name component and a domain).
|
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.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).
|
java.util.List<GroupPrincipal> |
UserDirectoryService.searchGroups(java.lang.String searchExpression,
int maxResults)
Returns all groups, up to the specified upper limit, with names that matches the given search expression.
|
java.util.List<UserPrincipal> |
UserDirectoryService.searchUsers(java.lang.String searchExpression,
int maxResults)
Returns all users, up to the specified upper limit, with names that matches the given search expression.
|
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.setMembers(GroupName groupName,
java.util.List<PrincipalName> memberNames)
Sets the given principals (users or groups) as members of the given group.
|
void |
UserDirectoryService.setName(PrincipalName principalName,
java.lang.String name)
Sets the name for the given principal (user or group).
|
void |
UserDirectoryService.setPassword(UserName userName,
java.lang.String password)
Sets the password for the given user.
|
void |
UserDirectoryService.setUserEnabled(UserName userName,
boolean enabled)
Enables or disables the given user.
|
Copyright © 2013-2020 TIBCO Software Inc. All Rights Reserved.