Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
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
 
(2 intermediate revisions by 2 users 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====
Line 21: Line 21:


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


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

Latest revision as of 02: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