set_unix_user


Description:

public bool set_unix_user (uint uid) throws Error

Tries to set the UNIX user identifier on this.

This method is only available on UNIX platforms.

This operation can fail if Credentials is not supported on the OS or if the native credentials type does not contain information about the UNIX user. It can also fail if the OS does not allow the use of "spoofed" credentials.

Parameters:

this

A Credentials.

uid

The UNIX user identifier to set.

Returns:

true if uid was set, false if error is set.




2022 vala-language.org