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

Mono.Unix.UnixUserInfo.UserName Property

Gets the user's login name.

public string UserName { get; }

See Also

Mono.Unix.Native.Passwd.pw_name

Value

A string containing the user's login name.

Remarks

This is what the user logs in to the computer as, and is generally limited to eight characters in length.

Requirements

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