Mono.Unix.UnixEnvironment.EffectiveUserId Property
Gets the effective user ID of the process.

Syntax

public static long EffectiveUserId { get; set; }

See Also

UnixEnvironment.EffectiveGroupId
UnixEnvironment.RealGroupId
UnixEnvironment.RealUserId
Mono.Unix.Native.Syscall.geteuid

Value

A long containing the effective user ID of the process.

Remarks

The UnixEnvironment.EffectiveUserId gives the process additional permissions during execution of FileSpecialAttributes.SetUserId mode processes.

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