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
-
appConID –
Application Connection Id of the user to be deleted
-
userName –
User Name that will be authorised by a predefined security provider
-
password –
Password for that user
-
error –
A double pointer to the error object that the application will pass to the function call and which will be populated by the function call in case of any errors within.
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
}