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.BindingsAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax 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