Difference between revisions of "User getCurrentUser"

From Catglobe Wiki
Jump to: navigation, search
Line 3: Line 3:
 
=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 11:05, 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