Skip to content

__getpwuid__

builtin · libnexusinterp/corefcn/getpwent-proprietary.cc

: pw = __getpwuid__ (uid)

Look up a user account by numeric user id.

The result is a struct with the fields name, passwd, uid, gid, gecos, dir and shell, or the scalar 0 if the user does not exist.