current-user-id

[procedure] current-user-id

[procedure] current-effective-user-id

Chicken: getuid and geteuid. See Concept:UserGroup.

Some implementations have get-user-id, sys-getuid, etc.