userRegistrationFailed:userManager:(NSError *, id) method

Called when the user registration has failed and the reason for failure is propogated through an error object.

Syntax

public virtual void userRegistrationFailed:userManager: (NSError * error, id userManager)

Usage

This is true in case of asynchronous user registration only. 
 Usage

 -(IBAction)buttonsPressed:(UIButton*)button{
     ODPUserManager* userManager = [ODPUserManager getInstance:"applicationid"];
     [userManager setConnectionProfileWithHost:@"hostname" port:5001 farm:@"farm" error:nil];
     [userManager setDelegate:self];
     [userManager registerUserWithUser:"username" activationCode:@"act.code" error:nil flag:NO];
 }
                 
              


                 
                      -(void)userRegistrationFailed:(NSError*)error
 {
     // Error handling using the error object
 }