public interface

NamedUserLicense

com.microstrategy.web.objects.admin.licensing.NamedUserLicense

Class Overview

This interface represents the usage of a single license type. This is obtained from the getNamedUserCompliance method on the LicenseSource interface.

Summary

Public Methods
abstract int getCurrentUsage()
Returns the current number of users using the license.
abstract int getLicenseType()
Returns the license type associated with this object.
abstract int getMaximumUsage()
Returns the maximum number of named users permitted for the license.
abstract String getName()
Returns the name of the license.
abstract boolean hasLicenseType()
Returns whether this license has a type associated with it.

Public Methods

public abstract int getCurrentUsage ()

Returns the current number of users using the license.

Returns
  • The current usage of the named user license.

public abstract int getLicenseType ()

Returns the license type associated with this object. The value will come from EnumDSSXMLLicenseType.

Returns

public abstract int getMaximumUsage ()

Returns the maximum number of named users permitted for the license.

Returns
  • The maximum usage allowed for the license type.

public abstract String getName ()

Returns the name of the license.

Returns
  • the name of the license.

public abstract boolean hasLicenseType ()

Returns whether this license has a type associated with it. If this returns false, then the license type will be 0.

Returns
  • Whether this license can be represented with a license type.