Difference between revisions of "User getCurrentUser"

From Catglobe Wiki
Jump to: navigation, search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=User_getCurrentUser=
 
  
=User_getCurrentUser=
+
== User_getCurrentUser ==
 +
 
  
 
Get the current user
 
Get the current user
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__
 
[[Category:User_Functions]]
 
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]]
 
[[Category:User_Functions]]

Latest revision as of 05: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