Tutorial Toolkit Function Descriptions > Utilities > Security
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">   
Security
 
sec_is_product_in_matrix
( product )
Description:
To ascertain if the given product is within the product matrix.
Input:
STRING
product[]
Name of product to query.
Output:
INTEGER
<Return Value>
Returns the success or failure of the routine.
Error Conditions:
None.
Remarks:
None.
Example:
None.
 
sec_is_product_licensed
(product )
Description:
Determines whether a given product has a current license.
Input:
STRING
product[]
Registered product name.
Output:
INTEGER
<Return Value>
Returns 0 if product is licensed.
Error Conditions:
None.
Remarks:
None.
Example:
None.
 
sec_license_type
(product, version )
Description:
To return the license type for a previously allocated license.
Input:
STRING
product[]
Name of product to request or ““ for last allocated license.
STRING
version[]
Version of product to request or ““ for last allocated license.
Output:
INTEGER
<Return Value>
0: license for this product/version is not currently allocated.
Else:
NETLS_ANY
NETLS_NODELOCKED
NETLS_CONCURRENT
NETLS_COMPOUND
NETLS_USEONCE
NETLS_USAGE.
Error Conditions:
None.
Remarks:
None.
Example:
None.