Name
licence, licence, kPMLicence — Licence details for this Power Manager Engine.
Synopsis
licence structure { name, organisation, state, expires };
name : string, length 1..255 |
organisation : string, length 1..255 |
state : string, choice |
expires : date, optional |
Description
Licence details for this Power Manager Engine.
Use state to determine if name and organisation contain useful details. Demonstration and expired licences rarely have useful name and organisation details.
Be prepared for unicode names and organisation names.
Fields
name. Name of the licenced contact.
name
is a string. name
must be between 1
and 255
characters long, inclusive.
organisation. Organisation licenced to use this engine.
For individuals, organisation should be set to 'Personal'.
organisation
is a string. organisation
must be between 1
and 255
characters long, inclusive.
state. Licence state for the engine.
state
is a string. state
must be one of the following three constants:
- demonstration,
kPMLicenceState_Demonstration
. - expired,
kPMLicenceState_Expired
. - licensed,
kPMLicenceState_Licensed
.
expires. Date this copy's demonstration period expires. If state is licenced or expired, expires may be omitted.
expires
is a date. expires
is optional.