4 library(uid): User and group management on Unix systems
All Application Manual Name SummaryHelp

  • 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)).
Source[det]initgroups(+User, +Group)
Initialise the group access list of the calling process to the registered groups for User and the group Group. This predicate is only available if the underlying OS provides it.