GetCurrentUserId

From Catglobe Wiki
Jump to: navigation, search

[Obsolete - Please use User_getCurrentUser]

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