Package com.atlassian.confluence.user
Interface UserDetailsManager
- All Known Implementing Classes:
DefaultUserDetailsManager
public interface UserDetailsManager
Retrieves extra details about a user
-
Method Summary
Modifier and TypeMethodDescriptionGet the list of profile information groupsgetProfileKeys
(String groupKey) Gets a list of keys for each property stored against a usergetStringProperty
(com.atlassian.user.User user, String key) Retrieve user property for a specified user.void
removeProperty
(com.atlassian.user.User user, String key) Removes the property associated with the uservoid
setStringProperty
(com.atlassian.user.User user, String key, String value) Stores a string < 255 chars in a property with the given key against a specified user.
-
Method Details
-
getStringProperty
Retrieve user property for a specified user.- Parameters:
user
- the user the property is associated withkey
- the key of the property to retrieve- Returns:
- user property string (< 255 chars)
-
setStringProperty
Stores a string < 255 chars in a property with the given key against a specified user.- Parameters:
user
- the user the property is associated withkey
- the key of the property to setvalue
- the new value of the property
-
removeProperty
Removes the property associated with the user- Parameters:
user
- the user the property is associated withkey
- the key of the property to remove
-
getProfileKeys
Gets a list of keys for each property stored against a user- Returns:
- list of properties
-
getProfileGroups
Get the list of profile information groups
-