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
closure:
Invoked when the user is deleted or an error occurs

ERRORS

Throws the following errors:

None.

RETURN VALUES

None.

EXAMPLES

None.