Mono.Unix.UnixUserInfo Class
Provides information about a Unix user.

See Also: UnixUserInfo Members

Syntax

public sealed class UnixUserInfo

Remarks

The Mono.Unix.UnixUserInfo type is a FxDG-compliant wrapper over the Mono.Unix.Native.Passwd native type. It represents a single entry from the local password database, typically /etc/passwd.

Unix users 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 is controlled by the bits specified by (UnixFileSystemInfo.FileAccessPermissions & FileAccessPermissions.UserReadWriteExecute). The owner permissions supersede group permissions and other permissions, even if the owner belongs to the group.

Thread Safety

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

Requirements

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