Difference between revisions of "User getCurrentUser"
(Tag: visualeditor) |
|||
Line 24: | Line 24: | ||
Version 5.6 | Version 5.6 | ||
− | |||
− | |||
[[Category:User_Functions]] | [[Category:User_Functions]] |
Latest revision as of 04:40, 24 June 2019
User_getCurrentUser
Get the current user
Syntax
User_getCurrentUser()
Arguments
None
Return value
An array, it is the user object array, which has the same format as what generated by User_new
Example
array user = User_getCurrentUser();
Availability
Version 5.6