Difference between revisions of "User getLoggedInUser"
(Tag: visualeditor) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | = User_getLoggedInUser = | + | == User_getLoggedInUser == |
− | [[ | + | |
+ | Get the logged in user | ||
+ | |||
+ | '''Syntax''' | ||
+ | |||
+ | User_getLoggedInUser() | ||
+ | |||
+ | '''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_getLoggedInUser();'' | ||
+ | |||
+ | '''Availability''' | ||
+ | |||
+ | Version 5.6 | ||
+ | |||
+ | __NOTOC__ | ||
+ | [[Category:User_Functions]] |
Latest revision as of 08:49, 27 March 2019
User_getLoggedInUser
Get the logged in user
Syntax
User_getLoggedInUser()
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_getLoggedInUser();
Availability
Version 5.6