Credentials.isSameUser

Checks if credentials and other_credentials is the same user.

This operation can fail if #GCredentials is not supported on the the OS.

class Credentials
bool
isSameUser

Parameters

otherCredentials gio.credentials.Credentials

A #GCredentials.

Return Value

Type: bool

true if credentials and other_credentials has the same user, false otherwise or if error is set.