GetCurrentUserId

From Catglobe Wiki
Revision as of 10:26, 21 December 2011 by Cg huyphong (talk | contribs)
Jump to: navigation, search



getCurrentUserId

Returns the id of the current thread’s user.

Syntax

getCurrentUserId()

Arguments

none

Return type

number

Examples

number id = getCurrentUserId();

print (id); //Return the user id of the current thread’s user.

Availability

Version 4.8