Asynchronously delete the specified user from device.
The specified AsyncIamResultReceiver closure is invoked with IamError.OK upon successful completion or with an error if an error occurs. See the
deleteUser() function for details about possible error codes.
static public func deleteUserAsync(connection: Connection, username: String, closure: @escaping AsyncIamResultReceiver)
- An established connection to the device
- Invoked when the user is deleted or an error occurs
Throws the following errors: