Interface NamedUserLicense
-
public interface NamedUserLicenseThis interface represents the usage of a single license type. This is obtained from the getNamedUserCompliance method on theLicenseSourceinterface.- Since:
- MicroStrategy Web 7.5.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCurrentUsage()Returns the current number of users using the license.intgetLicenseType()Returns the license type associated with this object.intgetMaximumUsage()Returns the maximum number of named users permitted for the license.java.lang.StringgetName()Returns the name of the license.booleanhasLicenseType()Returns whether this license has a type associated with it.
-
-
-
Method Detail
-
hasLicenseType
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.
-
getLicenseType
int getLicenseType()
Returns the license type associated with this object. The value will come fromEnumDSSXMLLicenseType.- Returns:
- A value from
EnumDSSXMLLicenseTypewhich this object represents.
-
getCurrentUsage
int getCurrentUsage()
Returns the current number of users using the license.- Returns:
- The current usage of the named user license.
-
getMaximumUsage
int getMaximumUsage()
Returns the maximum number of named users permitted for the license.- Returns:
- The maximum usage allowed for the license type.
-
getName
java.lang.String getName()
Returns the name of the license.- Returns:
- the name of the license.
-
-