• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

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)).(can be autoloaded)
Source[det]set_user_and_group(+User)
[det]set_user_and_group(+User, +Group)
Set the UID and GID to the User. User is either a UID or a user name. If Group is not specified, the primary group of User is used. If initgroups/2 is available, the resulting group access list of the calling process consists of the registered groups for User and the specified Group.
ClioPatria (version V3.1.1-51-ga0b30a5)