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
No edit summary
No edit summary
Line 1: Line 1:
[[Category:User_Functions]]
[[Category:User_Functions]]
๏ปฟ{{HelpFiles}}
[Obsolete - Please use [[User_getCurrentUser|User_getCurrentUser]]]


====getCurrentUserId====
====getCurrentUserId====

Revision as of 10:25, 12 May 2022

[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