IServerLicenceUser¶
- class IServerLicenceUser¶
Bases:
ImpactCOMWrapperBase- Description:
Represents a user that has been allocated a licence server licence.
- 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 granted_date_time¶
Gets granted_date_time.
- Description:
The datetime the licence was granted.
- Returns:
The value of granted_date_time.
- Return type:
granted_date_time (datetime)
- property user¶
Gets User.
- Description:
The login id of the user granted the licence.
- Returns:
The value of User.
- Return type:
user (str)
- property workstation¶
Gets Workstation.
- Description:
The workstation address granted the licence.
- Remarks:
When using nServer multiple licences may be granted to the same server. In this case each Workstation property will contain an IP address and a 4-digit unique session number.
- Returns:
The value of Workstation.
- Return type:
workstation (str)
- revoke()¶
- Description:
Revokes a specific licence on the Licence Server.
- Remarks:
Revoking a licence returns the licence to the list of available licences, allowing other users to acquire the licence. Revoking an Impact licence will cause the Impact Application to force the user to acquire a new licence. Revoking an nServer licence will cause the IDatabase object (or any associated objects) to automatically attempt to acquire a new licence the next time one of its properties or methods is called. If no licence can be acquired the property or method will fail. To ensure an IDatabase object does not attempt to reacquire a licence use ILicence.revoke instead.