Difference between revisions of "User getCurrentUser"
(Tag: visualeditor) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 25: | Line 25: | ||
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