Skip to content
EnvironmentOverview

getthreadidentity

Represents inspection of thread identity metadata.

Aliasesgetidentitygetthreadcontext

Details#

Returns the permission identity of the current execution thread. This numeric runtime context is unrelated to an account ID or a website role.

Examples#

Example

Luau
print("Thread identity:", getthreadidentity())