Mono Class Library: Mono.Unix.UnixEnvironment Overview | Members

Mono.Unix.UnixEnvironment.GetSupplementaryGroupIds Method

Gets the current group access list.

public static long[] GetSupplementaryGroupIds ()

See Also

Mono.Unix.Native.Syscall.getgroups

Returns

A long array containing the group access list of the current process.

Remarks

The group access list is a list of groups which the current process belongs to. These groups are used for file access checks when the UnixEnvironment.RealUser is not the file's UnixFileSystemInfo.OwnerUser; each of the supplementary groups is checked against UnixFileSystemInfo.OwnerGroup to see if group access applies, before using the "other" UnixFileSystemInfo.FileAccessPermissions.

Requirements

Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0