Click or drag to resize

libsimpleioLINUX_drop_privileges Method

Drop process privileges to those of the specified user.
Remarks
Only a process running at superuser privilege is allowed to drop privileges.

Namespace: IO.Bindings
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax
C#
public static void LINUX_drop_privileges(
	string username,
	out int error
)

Parameters

username  String
User privileges to assume.
error  Int32
Error code. Zero upon success or an errno value upon failure.
See Also