IServerLicence¶
- class IServerLicence¶
Bases:
ImpactCOMWrapperBase- Description:
Represents a licence installed on the Licence Server.
- Remarks:
Introduced in Impact 7.0.0.10.
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property count¶
Gets Count.
- Description:
The number of installed licences.
- Returns:
The value of Count.
- Return type:
count (int)
- property created_date_time¶
Gets created_date_time.
- Description:
The datetime the licence was issued.
- Returns:
The value of created_date_time.
- Return type:
created_date_time (datetime)
- property description¶
Gets Description.
- Description:
Description of the licence or user defined licence comments.
- Remarks:
Licence Server administrators may set user defined comments to distinguish licences.
- Returns:
The value of Description.
- Return type:
description (str)
- property enabled¶
Gets Enabled.
- Description:
Determines if the licence is currently enabled.
- Returns:
The value of Enabled.
- Return type:
enabled (bool)
- property expiration¶
Gets Expiration.
- Description:
Description of the licence expiration.
- Returns:
The value of Expiration.
- Return type:
expiration (str)
- property guid¶
Gets GUID.
- Description:
An associated GUID for nServer licences.
- Remarks:
Only applicable to ‘n_server Open’ and ‘n_server Application’ licences.
- Returns:
The value of GUID.
- Return type:
guid (str)
- property id¶
Gets ID.
- Description:
The unique licence number.
- Returns:
The value of ID.
- Return type:
id (int)
- property library_objects¶
Gets library_objects.
- Description:
Gets an ILibraryObjects collection representing all the library objects available for this server licence.
- Remarks:
Both Impact and nServer Application licences support library objects. nServer Open licences do not support library objects. Introduced in Impact 8.0.0.27.
- Returns:
The value of library_objects.
- Return type:
- property licences_in_use¶
Gets licences_in_use.
- Description:
Returns a IServerLicenceUsers collection representing all licences currently in use.
- Returns:
The value of licences_in_use.
- Return type: