Jump to content
Toggle menu
  • 915 articles
  • 3.8K files
  • 30.2K users
  • 279.2K edits
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GetCurrentUserId: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
No edit summary
Line 21: Line 21:


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


'''Availability'''
'''Availability'''

Revision as of 09:26, 21 December 2011



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