posix_initgroups

(PHP 5 >= 5.2.0, PHP 7)

posix_initgroupsCalculate the group access list

说锟斤拷

posix_initgroups ( string $name , int $base_group_id ) : bool

Calculates the group access list for the user specified in name.

锟斤拷锟斤拷

name

The user to calculate the list for.

base_group_id

Typically the group number from the password file.

锟斤拷锟斤拷值

锟缴癸拷时锟斤拷锟斤拷 TRUE锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE锟斤拷

锟轿硷拷

  • The Unix manual page for initgroups(3).