Interface NamedUserLicense
-
public interface NamedUserLicense
This interface represents the usage of a single license type. This is obtained from the getNamedUserCompliance method on theLicenseSource
interface.- Since:
- MicroStrategy Web 7.5.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCurrentUsage()
Returns the current number of users using the license.int
getLicenseType()
Returns the license type associated with this object.int
getMaximumUsage()
Returns the maximum number of named users permitted for the license.java.lang.String
getName()
Returns the name of the license.boolean
hasLicenseType()
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
EnumDSSXMLLicenseType
which 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.
-
-