checkLMUser

Check whether a user has registered.

Parameters:

Field
Type
Required Description
sessionid String yes The current sessionid which would have been returned by a call to loginLMLicensee().
licensee String yes The company code (not the company name) of the licensee.
email String yes The user's email address.
requireConfirmed Boolean yes If true, check whether the user has confirmed their registration.


Return values: A StatusData structure:

Field
Type
Description
fault FaultData If an error has occurred on the server, this will contain information about the error. This field will be null if no error occurred.  This will also be filled in if the user does not exist or if requireConfirmed is true and they have not confirmed.
status Integer 0 if the user has registered, null otherwise.If requireConfirmed is true, then this will be null if they have not confirmed.

Example:

NitroAdminAccessServiceLocator service = new NitroAdminAccessServiceLocator();
NitroAdminAccess server = service.getNitroAdminAccess();
StatusData ret = server.checkLMUser(
sessionid,
"smith",
"fredsmith@jones.com",
true);
if (ret.getFault()!=null) {
System.err.println("Error: " + ret.getFault().getFaultString());
return;
}
Comments