Difference between revisions of "User getCurrentUser"
Line 1: | Line 1: | ||
=User_getCurrentUser= | =User_getCurrentUser= | ||
+ | =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 | ||
+ | __NOTOC__ | ||
+ | [[Category:User_Functions]] | ||
Get the current user | Get the current user | ||
Revision as of 10:04, 29 February 2012
=User_getCurrentUser=
=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 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