Mwnci getuid() Function

Syntax

getuid()

Description

The getuid() function returns the numeric user id of the caller.

Example

println("This process is running under UID: ", getuid())


This process is running under UID: 1001