ARValidateMultipleLicenses
Note
You can continue to use C APIs to customize your application, but C APIs are not enhanced to support new capabilities provided by Java APIs and REST APIs.
Description
Checks whether the current server holds a license for several specified license types. This function performs the same action as ARValidateLicense
, but it is easier to use and more efficient than validating licenses one by one.
Privileges
All users.
Synopsis
#include "ar.h"
#include "arerrno.h"
#include "arextern.h"
#include "arstruct.h"
int ARValidateMultipleLicenses(
ARControlStruct *control,
ARLicenseNameList *licenseTypeList,
ARLicenseValidList *licenseValidList,
ARStatusList *status)
Input arguments
control
The control record for the operation. It contains information about the user requesting the operation, where that operation is to be performed, and which session is used to perform it. The user and server fields are required.
licenseTypeList
A list of the licenses that the function validates, including information such as license key, license type, expiration date, number of licenses, and qualifier. The system does not support a NULL
value in this option.
Return values
licenseValidList
A list of licenses, including information such as license key, license type, number of licenses, expiration date, and qualification.
status
A list of zero or more notes, warnings, or errors generated from a call to this function. For a description of all possible values, see Error checking.
See also
ARCreateLicense, ARDeleteLicense, ARGetListLicense, ARValidateLicense, 261621. See FreeAR for: FreeARLicenseNameList, FreeARLicenseValidList, FreeARStatusList
.
Comments
Log in or register to comment.