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

Mono.Unix.UnixGroupInfo.GetLocalGroups Method

Gets all groups listed in the local group database.

public static UnixGroupInfo[] GetLocalGroups ()

Returns

A Mono.Unix.UnixGroupInfo array containing information about all the local groups.

Exceptions

TypeReason
System.IO.IOExceptionAn I/O error occurred. [Mono.Unix.Native.Errno.EIO]
Mono.Unix.UnixIOException

Too many file descriptors in use by the process. [Mono.Unix.Native.Errno.EMFILE]

-or-

Too many files are currently open in the system. [Mono.Unix.Native.Errno.ENFILE]

-or-

Insufficient memory to allocate the group information structure. [Mono.Unix.Native.Errno.ENOMEM]

Remarks

Requirements

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