Syntax
geteuid()
Description
The geteuid() function returns the numeric effective user id of the caller.
Example
println("Effective uid of the program is:", geteuid()) Effective uid of the program is:1001
geteuid()
The geteuid() function returns the numeric effective user id of the caller.
println("Effective uid of the program is:", geteuid()) Effective uid of the program is:1001