The ILicenseManagerBase type exposes the following members.
Methods
Name | Description | |
---|---|---|
Authenticate |
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.
| |
CreateInstance |
User an instance of LicenseManager, which is the user-specific wrapper of LicenseManagerBase.
| |
FeedLicense |
Feed a new license to the Cartella application.
Throw exception if the license is invalid
| |
GetUserStateByUser |
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
| |
HasSeat |
Check to see if a user is "Seated"
| |
LowNumberOfSeats |
Whether this instance of cartella is about to run out of seats
| |
LowNumberOfUserLicenses |
Whether this instance of cartella is about to run out of user licenses
| |
Unauthenticate |
Terminate an login user state and nullify the active user context
|
Properties
Name | Description | |
---|---|---|
AllowedPluginAssemblyTitleVersions |
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.
| |
AuthenticationEngine |
Get the authentication engine for external authenticators
| |
AvailableSeats |
Get the number of available seats.
| |
AvailableUserLicenses | ||
Company |
The company listed on the license
| |
CreatableObjectTypesByNonSeatUsers |
Get the list of types that non-seated users can create. Any types beyond this list
cannot be created by non-seated users.
| |
ErrorWithLicenseKey |
Get the exception occurred during interpretation of the license key.
If license is valid and successfull parse, returns null.
| |
ExpirationDate |
Get the expiration date of the license
| |
ExpirationNotificationStartDate |
Get the date when site admins will start receive license about to expire
notifications
| |
IsLicensed |
Get the fact that if the Cartella instance has a license issued to it or not.
| |
NotificationLogger |
Notification Logger to determine if the license is about to expire.
| |
SiteAdminEmails |
Get all email address for site admins
| |
TotalSeats | ||
TotalUserLicenses |
Get the total number of users can be created in Cartella.
This number is equal or greater than the seats number.
|
Events
Name | Description | |
---|---|---|
LicenseAboutToExpire |
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.
| |
LicenseExpired |
Event to occur when license has expired.
The checking is done when any methods/properties are accessed.
|