Package com.atlassian.confluence.user
Interface UserDetailsManager
-
- All Known Implementing Classes:
DefaultUserDetailsManager
public interface UserDetailsManager
Retrieves extra details about a user
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getProfileGroups()
Get the list of profile information groupsList<String>
getProfileKeys(String groupKey)
Gets a list of keys for each property stored against a userString
getStringProperty(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 Detail
-
getStringProperty
String getStringProperty(com.atlassian.user.User user, String key)
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
void 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.- Parameters:
user
- the user the property is associated withkey
- the key of the property to setvalue
- the new value of the property
-
removeProperty
void removeProperty(com.atlassian.user.User user, String key)
Removes the property associated with the user- Parameters:
user
- the user the property is associated withkey
- the key of the property to remove
-
getProfileKeys
List<String> getProfileKeys(String groupKey)
Gets a list of keys for each property stored against a user- Returns:
- list of properties
-
-