create_account_async
Description:
public async unowned Account create_account_async (string connection_manager, string protocol, string display_name, HashTable<string,Value?> parameters, HashTable<string,Value?> properties) throws Error
Requests an asynchronous create of an account on the account manager this.
When the operation is finished, callback
will be called. You can then call create_account_async.end
to get the result of the operation.
The Account returned by create_account_async.end
will already have TP_ACCOUNT_FEATURE_CORE
prepared, along with all features previously passed to
add_account_features for the account
manager's factory.
It is usually better to use AccountRequest instead, particularly when using high-level language bindings.
Parameters:
this | |
connection_manager |
the name of a connection manager |
protocol |
the name of a protocol |
display_name |
the display name for the account |
parameters |
parameters for the new account |
properties |
properties for the new account |
callback |
a callback to call when the request is satisfied |
user_data |
data to pass to |