Returns an array with the current user data from the Login table.
Syntax
Security_currentUserData()
Arguments
No arguments.
Return value
Returns an array with the current user data from the Login table.
Example
This example shows how to output the current user data:
set userData = Security_currentUserData()
print_r(userData)
Sample output
Array
(
[ID] => 1
[username] => admin
[password] => admin
[email] => no
[fullname] => John
)
See also:
•Security screen: Security settings