Uses of Class
com.atlassian.sal.api.user.UserKey
Packages that use UserKey
Package
Description
-
Uses of UserKey in com.atlassian.sal.api.features
Methods in com.atlassian.sal.api.features with parameters of type UserKeyModifier and TypeMethodDescriptionvoidDarkFeatureManager.disableFeatureForUser(UserKey userKey, String featureKey) Disable a dark feature for the given user only.voidDarkFeatureManager.enableFeatureForUser(UserKey userKey, String featureKey) Enable a dark feature for the given user only.DarkFeatureManager.getFeaturesEnabledForUser(UserKey userKey) Return enabled features for a given user.DarkFeatureManager.isEnabledForUser(UserKey userKey, String featureKey) Checks whether the product contains the given feature for all users or just for the given user.booleanDarkFeatureManager.isFeatureEnabledForUser(UserKey userKey, String featureKey) Deprecated. -
Uses of UserKey in com.atlassian.sal.api.message
Methods in com.atlassian.sal.api.message with parameters of type UserKey -
Uses of UserKey in com.atlassian.sal.api.search
Methods in com.atlassian.sal.api.search with parameters of type UserKeyModifier and TypeMethodDescriptionRuns the a search given a query and returns a searchResult. -
Uses of UserKey in com.atlassian.sal.api.timezone
Methods in com.atlassian.sal.api.timezone with parameters of type UserKeyModifier and TypeMethodDescriptionTimeZoneManager.getUserTimeZone(UserKey user) Returns the time zone of the given user. -
Uses of UserKey in com.atlassian.sal.api.user
Methods in com.atlassian.sal.api.user that return UserKeyModifier and TypeMethodDescriptionstatic UserKeyUserKey.fromLong(long userId) Builds aUserKeyobject from a long id.UserManager.getRemoteUserKey()Returns the key of the currently logged in user or null if no user can be found.UserManager.getRemoteUserKey(javax.servlet.http.HttpServletRequest request) Returns theUserKeyof the currently logged in user or null if no user can be found.UserProfile.getUserKey()Returns the key of the user associated with this profile information.Methods in com.atlassian.sal.api.user with parameters of type UserKeyModifier and TypeMethodDescriptionUserManager.getUserProfile(UserKey userKey) Returns aUserProfile objectfor the specified user or null if no user can be foundbooleanReturnstrueorfalsedepending on whether a user has been granted the administrator permission.booleanUserManager.isLicensed(UserKey userKey) Returns whether user has been assigned one or more product licenses.default booleanUserManager.isLimitedUnlicensedUser(UserKey userKey) Returns whether user is not disabled AND is unlicensed AND site has enabled limited unlicensed access (seeUserManager.isLimitedUnlicensedAccessEnabled())booleanUserManager.isSystemAdmin(UserKey userKey) Returnstrueorfalsedepending on whether a user has been granted the system administrator permission.booleanUserManager.isUserInGroup(UserKey userKey, String group) Returns whether the given user is in the given group -
Uses of UserKey in com.atlassian.sal.api.usersettings
Methods in com.atlassian.sal.api.usersettings with parameters of type UserKeyModifier and TypeMethodDescriptionUserSettingsService.getUserSettings(UserKey userKey) Gets the UserSettings for the given user.voidUserSettingsService.updateUserSettings(UserKey userKey, Function<UserSettingsBuilder, UserSettings> updateFunction) Updates the UserSettings stored for this user.
DarkFeatureManager.isEnabledForUser(UserKey, String)instead