LoadLicenses
Returns all of the IBM Security licenses installed on the connected domain.
Syntax
ILicensesCollection LoadLicenses()
Return value
The Centrify.DirectControl.API.Licenses
object containing the collection of
IBM Security licenses installed on the connected domain.
Discussion
This method returns the collection of all licenses in all of the license parent containers found in the forest and represented in the LicensesCollection object.
Exceptions
LoadLicenses
throws an ApplicationException
if no license container is found or
if any error occurs while accessing Active Directory.
Example
The following code sample illustrates using this method in a script:
...
'Get the collection of licenses
If cims.IsForestConfigured = true then
set objLicense = LoadLicenses()
end if
...