Difference between revisions of "User getCurrentUser"

From Catglobe Wiki
Jump to: navigation, search
(Tag: visualeditor)
Line 24: Line 24:
  
 
Version 5.6
 
Version 5.6
 +
SingleQuestion_class
  
 
__NOTOC__
 
__NOTOC__
 
[[Category:User_Functions]]
 
[[Category:User_Functions]]

Revision as of 04:39, 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 SingleQuestion_class