cache_user_async


Description:

[ Version ( since = "0.6.27" ) ]
public async User cache_user_async (string username, Cancellable? cancellable) throws Error

Asynchronously caches a user account so it shows up via list_users .

For more details, see cache_user, which is the synchronous version of this call.

Parameters:

this

a UserManager

username

a unix user name

cancellable

optional Cancellable object, null to ignore

callback

a TaskReadyCallback to call when the request is satisfied

user_data

the data to pass to callback