-
public void* get_native (CredentialsType native_type)
Gets a pointer to native credentials of type native_type from credentials.
-
public uint get_unix_user () throws Error
Tries to get the UNIX user identifier from credentials. This method is only available on
UNIX platforms.
-
public bool is_same_user (Credentials other_credentials) throws Error
Checks if credentials and other_credentials is the same user.
-
public void set_native (CredentialsType native_type, void* native)
Copies the native credentials of type native_type from native into
credentials.
-
public bool set_unix_user (uint uid) throws Error
Tries to set the UNIX user identifier on credentials. This method is only available on UNIX
platforms.
-
public unowned string to_string ()
Creates a human-readable textual representation of credentials that can be used in logging
and debug messages. The format of the returned string may change in future GLib release.