Credentials.isSameUser

Checks if credentials and other_credentials is the same user.

This operation can fail if gio.Credentials is not supported on the the OS.

class Credentials
bool
isSameUser

Parameters

otherCredentials Credentials

Return Value

Type: bool

TRUE if credentials and other_credentials has the same user, FALSE otherwise or if error is set.

Throws

GException on failure.

Meta

Since

2.26