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 name in the local password database file.

public UnixUserInfo (string user)

See Also

Mono.Unix.Native.Syscall.getpwnam_r

Parameters

user
A string containing the user to get information about.

Exceptions

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

Remarks

This constructor looks up the specified user name 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