lookup_password_sync
Description:
[ Version ( since = "3.12" ) ]
public bool lookup_password_sync (Cancellable? cancellable, out string? out_password) throws Error
public bool lookup_password_sync (Cancellable? cancellable, out string? out_password) throws Error
Looks up a password for this.
Both the default and session keyrings are queried. This operation does not rely on the registry service and therefore works for any Source -- registered or "scratch".
Note the boolean return value indicates whether the lookup operation itself completed successfully, not whether a password was found. If no
password was found, the function will set out_password to null but still return true. If an error occurs,
the function sets error and returns false.
Parameters:
| this |
an Source |
| cancellable |
optional Cancellable object, or |
| out_password |
return location for the password, or |
Returns:
|
|