Create an IAM user on device. Runs asynchronously with a callback.
Result and error information is sent to the callback.
See https://docs.nabto.com/developer/guides/iam/intro.html for an intro to the concept of users and roles.
public abstract void createUserCallback(Connection connection, String username, String password, String role, IamCallback callback)
- An established connection to the device
- Username for the new user
- Password for the new user
- IAM role for the new user
- The callback that will be run once the function has completed successfully or erroneously.