Group
|
addGroup(String name)
Creates a group with the specified name and returns it.
|
void
|
addMembership(String groupname, String username)
|
void
|
addMembership(Group group, User user)
|
@Deprecated
User
|
addUser(String username, String password, String email, String fullname)
|
@Deprecated
User
|
addUser(String username, String password, String email, String fullname, String[] groups)
|
void
|
alterPassword(User user, String plainTextPassword)
|
boolean
|
authenticate(String username, String password)
|
Group
|
createGroup(String groupname)
|
User
|
createUser(User userTemplate, Credential password)
|
@Deprecated
User
|
createUser(String username)
|
void
|
deactivateUser(User user)
Deactivate the specified user, which prevents them logging in.
|
SearchResult<User>
|
findUsers(Query<User> search)
|
@Deprecated
Group
|
getDefaultGroup()
This method is deprecated.
since 3.5 not used anywhere
|
@Deprecated
List<RepositoryIdentifier>
|
getDelegatingRepositories()
This method is deprecated.
since 3.5 not used anywhere
|
@Deprecated
Pager<String>
|
getExternallMembers(Group group)
This method is deprecated.
since 4.0 returns an empty pager
|
Group
|
getGroup(String name)
Returns the group with the specified name, or null if the user doesn't exist or the name is null .
|
Group
|
getGroupCreateIfNecessary(String name)
|
Pager<Group>
|
getGroups(User user)
|
Pager<Group>
|
getGroups()
Returns a pager of all groups in the system.
|
@Deprecated
Pager<String>
|
getLocalMembers(Group group)
|
Pager<String>
|
getMemberNames(Group group)
Returns a pager containing the usernames of users who are members of the specified group
(either directly or as a member of a nested group).
|
PropertySet
|
getPropertySet(User user)
|
@Deprecated
RepositoryIdentifier
|
getRepository(Entity entity)
This method is deprecated.
since 4.0 use com.atlassian.crowd.embedded.api.CrowdDirectoryService to query for directory information
|
User
|
getUser(String name)
Returns the user with the specified name, or null if the user doesn't exist or the name is null .
|
Pager<String>
|
getUserNames()
Returns a pager of all usernames in the system.
|
UserPreferences
|
getUserPreferences(User user)
|
Pager<User>
|
getUsers()
Returns a pager of all users in the system.
|
SearchResult
|
getUsersByEmail(String email)
|
@Deprecated
Pager<User>
|
getUsersWithConfluenceAccess()
This method is deprecated.
since 3.5.1. This method is very slow, use countUsersWithConfluenceAccess() if you need to know the number of users.
|
boolean
|
hasMembership(Group group, User user)
Returns true if the specified user and group both exist, and the user is a member of the
group (either directly or as a member of a nested group).
|
boolean
|
hasMembership(String groupName, String username)
Returns true if the specified user and group both exist, and the user is a member of the
group (either directly or as a member of a nested group).
|
boolean
|
isDeactivated(User user)
Returns true if the user exists and is unable to log in, otherwise false.
|
boolean
|
isDeactivated(String username)
Returns true if the user with the specified username exists and is unable to log in, otherwise false.
|
boolean
|
isLicensedToAddMoreUsers()
|
boolean
|
isUserRemovable(User user)
|
void
|
reactivateUser(User user)
Marks the specified user as active, which allows them to log in.
|
void
|
removeGroup(Group group)
Removes the specified group.
|
boolean
|
removeMembership(String groupname, String username)
|
boolean
|
removeMembership(Group group, User user)
|
void
|
removeUser(User user)
Removes the specified user.
|
void
|
saveUser(User user)
Persists changes made to a user (e.g.
|