Update an IAM user’s username on device. Runs asynchronously with a callback.
Result and error information is sent to the callback.
public abstract void renameUserCallback(Connection connection, String username, String newUsername, IamCallback cb)
- An established connection to the device
- Username for the user that should have username updated
- New username for the user
- The callback that will be run once the function has completed successfully or erroneously.