Difference between revisions of "GetCurrentUserId"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:User_Functions]]
 
[[Category:User_Functions]]
{{HelpFiles}}
+
[Obsolete - Please use [[User_getCurrentUser|User_getCurrentUser]]. More detail at [[ConversionMethods|ConversionMethods]] ]
  
 
====getCurrentUserId====
 
====getCurrentUserId====

Latest revision as of 03:34, 13 May 2022

[Obsolete - Please use User_getCurrentUser. More detail at ConversionMethods ]

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