| Package | Description |
|---|---|
| com.atlassian.crowd.embedded.api |
| Modifier and Type | Method and Description |
|---|---|
Group |
CrowdService.addGroup(Group group)
Adds a
group to the directory store. |
boolean |
CrowdService.addGroupToGroup(Group childGroup,
Group parentGroup)
Adds a group as a member of a parent group.
|
User |
CrowdService.addUser(User user,
String credential)
Deprecated.
Use
CrowdService.addUser(UserWithAttributes, String) instead. Since v2.9 |
UserWithAttributes |
CrowdService.addUser(UserWithAttributes user,
String credential)
Adds a
user to the directory store. |
boolean |
CrowdService.addUserToGroup(User user,
Group group)
Adds a user as a member of a group.
|
void |
CrowdService.removeAllGroupAttributes(Group group)
Removes all group attributes.
|
void |
CrowdService.removeAllUserAttributes(User user)
Remove all attributes for a user.
|
boolean |
CrowdService.removeGroup(Group group)
Removes the
group that matches the supplied name. |
void |
CrowdService.removeGroupAttribute(Group group,
String attributeName)
Removes all the values for a single attribute key for a group.
|
boolean |
CrowdService.removeGroupFromGroup(Group childGroup,
Group parentGroup)
Removes a group as a member of a parent group.
|
boolean |
CrowdService.removeUser(User user)
Removes the
user that matches the supplied name. |
void |
CrowdService.removeUserAttribute(User user,
String attributeName)
Removes all the values for a single attribute key for a user.
|
boolean |
CrowdService.removeUserFromGroup(User user,
Group group)
Removes a user as a member of a group.
|
User |
CrowdService.renameUser(User user,
String newUsername)
Renames the
User. |
void |
CrowdService.setGroupAttribute(Group group,
String attributeName,
Set<String> attributeValues)
Adds or updates a group's attributes with the new
attributes. |
void |
CrowdService.setGroupAttribute(Group group,
String attributeName,
String attributeValue)
Adds or updates a group's attributes with the new attributes.
|
void |
CrowdService.setUserAttribute(User user,
String attributeName,
Set<String> attributeValues)
Adds or updates a user's attribute with the new attribute values.
|
void |
CrowdService.setUserAttribute(User user,
String attributeName,
String attributeValue)
Adds or updates a user's attribute with the new attribute value.
|
Group |
CrowdService.updateGroup(Group group)
Updates the
group. |
User |
CrowdService.updateUser(User user)
Updates the
User. |
void |
CrowdService.updateUserCredential(User user,
String credential)
|
Copyright © 2023 Atlassian. All rights reserved.