call_add_account_sync


Description:

public bool call_add_account_sync (string arg_provider, string arg_identity, string arg_presentation_identity, Variant arg_credentials, Variant arg_details, out string out_account_object_path, Cancellable? cancellable = null) throws Error

Synchronously invokes the AddAccount D-Bus method on this.

The calling thread is blocked until a reply is received.

See call_add_account for the asynchronous version of this method.

Parameters:

this

A ManagerProxy.

arg_provider

Argument to pass with the method invocation.

arg_identity

Argument to pass with the method invocation.

arg_presentation_identity

Argument to pass with the method invocation.

arg_credentials

Argument to pass with the method invocation.

arg_details

Argument to pass with the method invocation.

out_account_object_path

Return location for return parameter or null to ignore.

cancellable

A Cancellable or null.

Returns:

true if the call succeeded, false if error is set.