Interface UserAccessorInternal
- All Superinterfaces:
 ConfluenceUserResolver,com.atlassian.user.search.query.EntityQueryParser,GroupMembershipAccessor,GroupResolver,UserAccessor,UserExistenceChecker,UserPreferencesAccessor,UserProfilePictureAccessor
- All Known Implementing Classes:
 DefaultUserAccessor,ReadOnlyUserAccessor
DMZ version of the 
UserAccessor interface; see the package-info.java for rationale.- Since:
 - 9.0
 
- 
Field Summary
Fields inherited from interface com.atlassian.confluence.user.UserAccessor
DEFAULT_GROUP_NAMES, GROUP_CONFLUENCE_ADMINS, GROUP_CONFLUENCE_USERS, PROFILE_PICTURE_BUILTIN_PATH - 
Method Summary
Modifier and TypeMethodDescription@Nullable ConfluenceUsercreateUser(com.atlassian.crowd.model.user.UserTemplateWithAttributes userTemplate, com.atlassian.user.security.password.Credential password) Creates a user from the given template, with the given password.booleanisCrowdManaged(ConfluenceUser user) Checks whether or not embedded Crowd manages/has knowledge of a given userbooleanisDeletedUser(ConfluenceUser user) Checks whether or not a user has been deleted from the applicationbooleanisUnsyncedUser(ConfluenceUser user) Checks whether or not a user is unsyncedcom.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.Methods inherited from interface com.atlassian.confluence.user.ConfluenceUserResolver
getExistingByApiUser, getExistingUserByKey, getExistingUserByPerson, getUserByKey, getUserByName, getUsers, getUsersByUserKeysMethods inherited from interface com.atlassian.user.search.query.EntityQueryParser
findGroups, findGroups, findUsers, findUsersMethods inherited from interface com.atlassian.confluence.user.GroupMembershipAccessor
getMemberNamesMethods inherited from interface com.atlassian.confluence.user.GroupResolver
getGroupMethods inherited from interface com.atlassian.confluence.user.UserAccessor
addGroup, addMembership, addMembership, addUser, addUser, alterPassword, alterPassword, authenticate, countLicenseConsumingUsers, countUnsyncedUsers, createGroup, createUser, deactivateUser, deactivateUserLocally, findUsersAsList, getAllDefaultGroupNames, getGroupCreateIfNecessary, getGroupNames, getGroupNamesForUserName, getGroups, getGroups, getGroupsAsList, getGroupsByGroupNames, getMemberNamesAsList, getMembers, getMembers, getNewUserDefaultGroupName, getPropertySet, getUser, getUserNames, getUserNamesWithConfluenceAccess, getUsers, getUsersByEmail, getWriteableGroups, hasMembership, hasMembership, isDeactivated, isDeactivated, isLicensedToAddMoreUsers, isReadOnly, isReadOnly, isSuperUser, isUserRemovable, reactivateUser, reactivateUserLocally, removeGroup, removeMembership, removeMembership, removeUser, renameUser, saveUser, setUserProfilePicture, setUserProfilePictureMethods inherited from interface com.atlassian.confluence.user.UserExistenceChecker
existsMethods inherited from interface com.atlassian.confluence.user.UserPreferencesAccessor
getUserPreferencesMethods inherited from interface com.atlassian.confluence.user.UserProfilePictureAccessor
getUserProfilePicture 
- 
Method Details
- 
isDeletedUser
Checks whether or not a user has been deleted from the application- Parameters:
 user- the user to check- Returns:
 - true if the user has been deleted from the application, false otherwise (even if the user doesn't exist)
 - Since:
 - 6.13.0
 
 - 
isUnsyncedUser
Checks whether or not a user is unsynced- Parameters:
 user- the user to check- Returns:
 - true if the user is unsynced, false otherwise (even if the user doesn't exist)
 - Since:
 - 6.13.0
 
 - 
isCrowdManaged
Checks whether or not embedded Crowd manages/has knowledge of a given user- Returns:
 - true if the user is managed by embedded Crowd, false otherwise (even if the user doesn't exist)
 - Since:
 - 6.13.0
 
 - 
searchUnsyncedUsers
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. a user who has a known mapping but no backing user, but who has not yet been deleted from the application.- Parameters:
 searchParam- the username parameter to search by- Returns:
 - a pager of all unknown / unsynced users
 - Since:
 - 6.13.0
 
 - 
createUser
@Nullable ConfluenceUser createUser(com.atlassian.crowd.model.user.UserTemplateWithAttributes userTemplate, com.atlassian.user.security.password.Credential password) Creates a user from the given template, with the given password.- Parameters:
 userTemplate- the user template to create a user withpassword- the password to set, orCredential.NONEto set a random password- Returns:
 - the created user, if they are the canonical user for the given username. Can be null
 
 
 -