The ILicenseManagerBase type exposes the following members.

Methods

  NameDescription
Public methodAuthenticate
Authenticate User for specific SiteManager instance, if successful, set CurrentUserState on SiteManager, and create ILicenseManager instance and set on the SiteManager's LicenseManager property. License and seating are checked in the same time.
Public methodCreateInstance
User an instance of LicenseManager, which is the user-specific wrapper of LicenseManagerBase.
Public methodFeedLicense
Feed a new license to the Cartella application. Throw exception if the license is invalid
Public methodGetUserStateByUser
Retrive active user state for a user. Please note that Cartella license model only allow one user state per user. So we will always only have one user state - or null object
Public methodHasSeat
Check to see if a user is "Seated"
Public methodLowNumberOfSeats
Whether this instance of cartella is about to run out of seats
Public methodLowNumberOfUserLicenses
Whether this instance of cartella is about to run out of user licenses
Public methodUnauthenticate
Terminate an login user state and nullify the active user context

Properties

  NameDescription
Public propertyAllowedPluginAssemblyTitleVersions
Get the list of licensed/allowed by default plug-in assemblies. The list is an concatenation of Full Type Name and Version number. It is used to manage licenses for plug-ins.
Public propertyAuthenticationEngine
Get the authentication engine for external authenticators
Public propertyAvailableSeats
Get the number of available seats.
Public propertyAvailableUserLicenses
Public propertyCompany
The company listed on the license
Public propertyCreatableObjectTypesByNonSeatUsers
Get the list of types that non-seated users can create. Any types beyond this list cannot be created by non-seated users.
Public propertyErrorWithLicenseKey
Get the exception occurred during interpretation of the license key. If license is valid and successfull parse, returns null.
Public propertyExpirationDate
Get the expiration date of the license
Public propertyExpirationNotificationStartDate
Get the date when site admins will start receive license about to expire notifications
Public propertyIsLicensed
Get the fact that if the Cartella instance has a license issued to it or not.
Public propertyNotificationLogger
Notification Logger to determine if the license is about to expire.
Public propertySiteAdminEmails
Get all email address for site admins
Public propertyTotalSeats
Public propertyTotalUserLicenses
Get the total number of users can be created in Cartella. This number is equal or greater than the seats number.

Events

  NameDescription
Public eventLicenseAboutToExpire
Event to occur when license is about to expire. Head up days are defined in config file (web.config or [app].config) The checking is done when any methods/properties are accessed.
Public eventLicenseExpired
Event to occur when license has expired. The checking is done when any methods/properties are accessed.

See Also