listLMProducts

Lists the products/software that currently exist for the given Licensee.

Parameters:

Field
Type
Required Description
sessionid String yes The sessionid returned by loginLMLicensee()
licensee String yes The company code (not the company name) for the Licensee.


Return values: A ProductListAccess 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.
products Array of ProductInfo A list of product information, one row per product.

ProductInfo

Field
Type
Description
approveDemos Boolean Whether new demo requests must be approved by a salesman before being granted.
code String The product's code.
defaultCheckoutDays Integer The default number of days if a user requests a default license and defaultLicenseType="L".
defaultLicenseType LicenseType The type of license that will be granted if a user requests a default license.
hasSequence Boolean Whether the product has a user-sequence associated with it.
licensee String The company code of the licensee associated with the product.
maxDemoDays Integer The maximum number of days a demo may be requested for.
minVersion String The minimum required version for the product.
name String The English name of the product.

Example:

NitroAdminAccessServiceLocator service = new NitroAdminAccessServiceLocator();
NitroAdminAccess server = service.getNitroAdminAccess();
ProductListAccess plist = server.listLMProducts(sessionid, "smith");
if (plist.getFault()!=null) {
	System.err.println("Error: " + plist.getFault().getFaultString());
	return;
}
if (plist.getProducts()!=null) {
        ProductInfo info;
	for (int i=0; i<plist.getProducts().length; i++) {
                info = plist.getProducts(i);
		// report on one product
	}
}
Comments