package
3.11.5+incompatible
Repository: https://github.com/sylabs/singularity.git
Documentation: pkg.go.dev
# Functions
Current returns a pointer to User structure associated with current user.
CurrentOriginal returns a pointer to User structure associated with the original current user, if current user is inside a user namespace with a custom user mappings, it will returns information about the original user otherwise it returns information about the current user.
GetGrGID returns a pointer to Group structure associated with group gid.
GetGrNam returns a pointer to Group structure associated with group name.
GetPwNam returns a pointer to User structure associated with user name.
GetPwUID returns a pointer to User structure associated with user uid.
UIDInAnyGroup returns true if the user with supplied uid is a member of any group in list.
UIDInList returns true if the user with supplied uid is in list (match by uid or username).