delete_password_sync


Description:

[ Version ( since = "3.12" ) ]
public bool delete_password_sync (Cancellable? cancellable = null) throws Error

Deletes the password for this from either the default keyring or session keyring.

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 delete operation itself completed successfully, not whether a password was found and deleted. If no password was found, the function will still return true. If an error occurs, the function sets error and returns false.

Parameters:

this

an Source

cancellable

optional Cancellable object, or null

Returns:

true on success, false on error