Returns the identity level of the running thread. Identity decides which engine operations the thread may perform; Athena runs your code at an elevated identity, which is why reflection and protected reads work. Also registered as getidentity, getthreadcontext, get_thread_identity.

Returns

number
The current thread identity level.

Example