Mono Class Library: Mono.Unix Namespace

Mono.Unix.UnixGroupInfo Class

Provides information about a Unix group. [Edit]

See Also: UnixGroupInfo Members

public sealed class UnixGroupInfo

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

The Mono.Unix.UnixGroupInfo type is a FxDG-compliant wrapper over the Mono.Unix.Native.Group native type. It represents a single entry from the local group database, typically /etc/group.

Unix Groups are part of the file system access rules.

Access to file system objects (as represented by Mono.Unix.UnixFileSystemInfo) is controlled by the file system access permissions, UnixFileSystemInfo.FileAccessPermissions. Mono.Unix.FileAccessPermissions is a nine-bit field specifying read, write, and execute access for the owner, group, and everyone else (other).

Access by the file's owner group is controlled by the bits specified by (UnixFileSystemInfo.FileAccessPermissions & FileAccessPermissions.GroupReadWriteExecute). All group members get these access permissions, except for the file's owner (if they belong to the file's owner group).

[Edit]

Requirements

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