user-uid

user-uid is a built-in function in `C source code'.

(user-uid)

Return the effective uid of Emacs.
Value is an integer or a float, depending on the value.