Credentials.setUnixUser

Tries to set the UNIX user identifier on credentials. This method is only available on UNIX platforms. This operation can fail if GCredentials is not supported on the OS or if the native credentials type does not contain information about the UNIX user. Since 2.26

class Credentials
int
setUnixUser

Parameters

uid uid_t

The UNIX user identifier to set.

Return Value

Type: int

TRUE if uid was set, FALSE if error is set.

Throws

GException on failure.

Meta