The unix.users vocabulary contains words that return information about Unix users.

Listing all users:
all-users ( -- seq )


Listing all user names:
all-user-names ( -- seq )


Checking if a user exists:
user-exists? ( name/id -- ? )


Querying/setting the current real user:
real-user-name ( -- string )

real-user-id ( -- id )

set-real-user ( string/id -- )


Querying/setting the current effective user:
effective-user-name ( -- string )

effective-user-id ( -- id )

set-effective-user ( string/id -- )


Combinators to change users:
with-real-user ( string/id/f quot -- )

with-effective-user ( string/id/f quot -- )