registerUser:password:captchaText:error:isSyncFlag: method

Static method which registers the client with the server by automatically creating a user with the help of a pre-defined authentication mechanism along with Captcha Text.

Syntax

- ( BOOL ) registerUser : ( NSString * ) userName password : ( NSString * ) loginPassword captchaText : ( NSString * ) captchaText error : ( NSError ** ) error isSyncFlag : ( BOOL ) isSynchronous

Parameters

Returns

Returns a BOOL indicating if the user registration has been successful. Significant in case of synchronous registration only.

Example 1

NSError* error = nil;
[userManager registerUser:"username" password:@"password" captchaText:@"captchText" error:&error isSyncFlag:NO])