Difference between revisions of "User getCurrentUser"
(Tag: visualeditor) |
|||
Line 15: | Line 15: | ||
'''Return value''' | '''Return value''' | ||
− | An array, it is the user object array, which has the same format as what generated by User_new | + | An array, it is the user object array, which has the same format as what generated by [[User_new]] |
'''Example''' | '''Example''' | ||
Line 24: | Line 24: | ||
Version 5.6 | Version 5.6 | ||
+ | |||
__NOTOC__ | __NOTOC__ | ||
[[Category:User_Functions]] | [[Category:User_Functions]] |
Revision as of 08:49, 27 March 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