public interface UserAccessorInternal extends UserAccessor
UserAccessor interface; see the package-info.java for rationale.DEFAULT_GROUP_NAMES, GROUP_CONFLUENCE_ADMINS, GROUP_CONFLUENCE_USERS, PROFILE_PICTURE_BUILTIN_PATH| Modifier and Type | Method and Description |
|---|---|
Optional<ConfluenceUser> |
getExistingByApiUser(User user)
Retrieve the corresponding ConfluenceUser (if any) for a user, by user key or username
|
@Nullable ConfluenceUser |
getExistingUserByPerson(Person person)
Retrieve the corresponding ConfluenceUser (if any) for a Person, by username, or user key
|
boolean |
isCrowdManaged(ConfluenceUser user)
Checks whether or not embedded Crowd manages/has knowledge of a given user
|
boolean |
isDeletedUser(ConfluenceUser user)
Checks whether or not a user has been deleted from the application
|
boolean |
isUnsyncedUser(ConfluenceUser user)
Checks whether or not a user is unsynced
|
com.atlassian.user.search.page.Pager<ConfluenceUser> |
searchUnsyncedUsers(String searchParam)
Returns a list of all users for the given username search parameter that are unsynced: a user whose account has
been disconnected from an external directory, i.e.
|
alterPassword, countLicenseConsumingUsers, countUnsyncedUsers, createUser, exists, findUsersAsList, getAllDefaultGroupNames, getConfluenceUserPreferences, getExistingUserByKey, getGroupNames, getGroupNamesForUserName, getGroupsAsList, getGroupsByGroupNames, getMemberNamesAsList, getMembers, getNewUserDefaultGroupName, getPropertySet, getPropertySet, getUser, getUserByKey, getUserByName, getUserNamesWithConfluenceAccess, getUserProfilePicture, getUsersByUserKeys, getWriteableGroups, isDeactivated, isDeactivated, isLicensedToAddMoreUsers, isReadOnly, isReadOnly, isSuperUser, renameUser, setUserProfilePicture, setUserProfilePictureaddGroup, addMembership, addMembership, addUser, addUser, alterPassword, authenticate, createGroup, deactivateUser, findUsers, getGroup, getGroupCreateIfNecessary, getGroups, getGroups, getMemberNames, getUserNames, getUserPreferences, getUsers, getUsersByEmail, getUsersWithConfluenceAccess, hasMembership, hasMembership, isUserRemovable, reactivateUser, removeGroup, removeMembership, removeMembership, removeUser, saveUserfindGroups, findGroups, findUsersforUserAccessorgetGroupgetMemberNames@Nullable ConfluenceUser getExistingUserByPerson(Person person)
getExistingUserByPerson in interface ConfluenceUserResolverperson - the person whose corresponding ConfluenceUser should be retrievedIllegalArgumentException - if person has neither username nor user keyOptional<ConfluenceUser> getExistingByApiUser(User user)
One of username or userkey must be set on the user object.
This method differs from getExistingUserByPerson(com.atlassian.confluence.api.model.people.Person) in its handling of anonymous, it is not
possible to retrieve an anonymous user from this method. When a Option.none() is returned from this method
it indicates that the user was not found in the user repository.
getExistingByApiUser in interface ConfluenceUserResolveruser - the user whose corresponding ConfluenceUser should be retrievedIllegalArgumentException - if user parameter has neither username nor user keyboolean isDeletedUser(ConfluenceUser user)
user - the user to checkboolean isUnsyncedUser(ConfluenceUser user)
user - the user to checkboolean isCrowdManaged(ConfluenceUser user)
com.atlassian.user.search.page.Pager<ConfluenceUser> searchUnsyncedUsers(String searchParam)
searchParam - the username parameter to search byCopyright © 2003–2023 Atlassian. All rights reserved.