POSIX Функции
PHP Manual

posix_initgroups

(PHP 5 >= 5.2.0)

posix_initgroupsCalculate the group access list

Описание

bool posix_initgroups ( string $name , int $base_group_id )

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 при неуспех.

Вж. също


POSIX Функции
PHP Manual