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

Mono.Unix.UnixUserInfo Constructor

Constructs and initializes a new instance of Mono.Unix.UnixUserInfo by looking up the specified user id in the local password database file.

public UnixUserInfo (long user)

See Also

Mono.Unix.Native.Syscall.getpwuid_r

Parameters

user
A long containing the user id to get information about.

Exceptions

TypeReason
ArgumentException The user id user does not exist in the lcoal password database.

Remarks

This constructor looks up the specified user id in the local password database.

Requirements

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