User getCurrentUser

From Catglobe Wiki
Revision as of 05:40, 24 June 2019 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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