create_user_async


Description:

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

Asynchronously creates a user account on the system.

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

Parameters:

this

a UserManager

username

a unix user name

fullname

a unix GECOS value

accounttype

a UserAccountType

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




2022 vala-language.org