Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Process/initgroups-c.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Initializes the supplemental group access list by reading the system group database and using all groups of which the given user is a member. The group with the specified <em>gid</em> is also added to the list. Returns the resulting <tt>Array</tt> of the gids of all the groups in the supplementary group access list. Not available on all platforms.
- !ruby/struct:SM::Flow::VERB 
  body: "   Process.groups   #=&gt; [0, 1, 2, 3, 4, 6, 10, 11, 20, 26, 27]\n   Process.initgroups( &quot;mgranger&quot;, 30 )   #=&gt; [30, 6, 10, 11]\n   Process.groups   #=&gt; [30, 6, 10, 11]\n"
full_name: Process::initgroups
is_singleton: true
name: initgroups
params: |
  Process.initgroups(username, gid)   => array

visibility: public