USER Methods
User status
login(), logout(), admin(), groups(), status()Creating and deleting users
create(), update(), delete()User information
index(), details(), directory()User registration
evaluate(), register(), hash(), activate(), password()
details()
Return user details. If no index is passed, the current user's details will be returned.
array details([ int index [, string field ]])
Return
List of available user data
Parameter
Description
indexGet details of user with this user-index
fieldReturns the value of this field only
Get specific data-field of current user
$USER->details($USER->index(), "nick")
RETURN: 'test'
Get current user's complete data
$USER->details()
RETURN: ARRAY [15]