4 library(uid): User and group management on Unix systems
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog C-library
library(uid): User and group management on Unix systems
getuid/1
getgid/1
geteuid/1
getegid/1
getgroups/1
user_info/2
user_data/3
group_info/2
group_data/3
setuid/1
seteuid/1
setgid/1
setegid/1
initgroups/2
setgroups/1
set_user_and_group/1
set_user_and_group/2
Availability:
:- use_module(
library(uid)
).
[det]
setgroups
(
+Groups:list(integer)
)
Set the group access list of the caling process to the indicated groups. This predicate is only available if the underlying OS provides it.