Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

posix_initgroups

Description

The posix_initgroups of POSIX for PHP calculates the group access list.

Syntax

posix_initgroups(
    string $username,
    int $group_id
): bool

Parameters

username

The user to calculate the list for.

group_id

Typically the group number from the password file.

Return

Returns true on success or false on failure.

HomeMenu