deleteUser:password:error: method

Static Method which deletes the application connection/user with which the application has established a connection.

Syntax

- ( BOOL ) deleteUser : ( NSString * ) userName password : ( NSString * ) passWord error : ( NSError ** ) error

Parameters

Returns

A BOOL is returned indicating if the user has been deleted or not.

Example 1

NSError* error = nil;
if([userManager deleteUser:"username" password:@"password" error:&error];)
{
    // Further Processing
}
else
{
    // Further Error processing using error object
}