IsEval

Determines whether the license key is an evaluation license.

Syntax

bool IsEval {get;}

Property value

Returns true if the license is a temporary evaluation license, or false if the license key is a permanent license.

Discussion

An evaluation license provides full use of IBM Security software for a limited period of time. This property returns true if the license is a temporary evaluation license, or false if the license key is a permanent license.

Example

The following code sample illustrates using IsEval in a script:

...  
set objCollection cims.LoadLicenses  
for each objLics in objCollection  
for each objLic in objLics  
set objKeys = objLic.keys  
i = 0  
do while i \< objKeys.Count   
set objKey = objKeys(0)   
‘Check for evaluation license keys  
if objKey.isEval then  
wScript.Echo "-- [Eval] ", objKey.ExpiryDate  
end if  
i = i + 1  
loop  
next   
wScript.Echo ""   
next   
...