IamUtil.deleteUserAsync()
DESCRIPTION
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.
DECLARATION
static public func deleteUserAsync(connection: Connection, username: String,
closure: @escaping AsyncIamResultReceiver)
PARAMETERS
connection:
- An established connection to the device
username:
- Username of the user to delete
closure:
- Invoked when the user is deleted or an error occurs