get_unix_user
Description:
Tries to get the UNIX user identifier from 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.
As the signedness of `uid_t` is not specified by POSIX, it is recommended to check throws for failure rather than trying to check the return value, particularly in language bindings.
Parameters:
| this |
Returns:
|
The UNIX user identifier or `(uid_t) -1` if throws is set. |