user-groups ( string/id -- seq ) (original) (raw)
user-groups ( string/id -- seq )
Inputs
string/id | a string or a group id |
---|
Outputs
seq | a sequence |
---|
Word description
Returns the sequence of groups to which the user belongs.
Definition
GENERIC: user-groups ( string/id -- seq )
Methods
USING: math unix.groups unix.groups.private unix.users ;
M: integer user-groups user-name (user-groups) ;