UserManager class

Syntax

public class UserManager extends ISDMNetListener, INetListener

Members

All members of UserManager, including inherited members.

Constructors
Modifier and Type Constructor Description
public UserManager(ClientConnection) Initialize the UserManager.
Methods
Modifier and Type Method Description
public void deleteUser() Delete the current user from the SMP server.
public String getApplicationConnectionId() Return the application connection ID obtained from the server after successful registration.
public boolean isUserRegistered() Deprecated. This API has been deprecated as application developer can determine with the APPlication Connection Id to know whether user is registered or not.
public boolean registerUser(boolean) Register the user with SAP Mobile Server.
public boolean registerUser(String, boolean) Register the user with the SAP Mobile Server.
public void setCaptchaChallengeListener(ISMPCaptchaChallengeListener) Set the CAPTCHA challenge listener in case of CAPTCHA enabled by the SAP Mobile Server.
public void setUserRegistrationListener(ISMPUserRegistrationListener) Set the registration listener for asynchronous registration.