This documentation supports the 18.05 version of Remedy Action Request System.

To view the latest version, select the version from the Product version menu.

ARCreateLicense

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

Adds an entry to the Add or Remove Licenses form for the current server.

Privileges

All users.

Synopsis

#include "ar.h"
#include "arerrno.h"
#include "arextern.h"
#include "arstruct.h"

int ARCreateLicense(
   ARControlStruct *control,
   ARLicenseInfoStruct *licenseInfo,
   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.

licenseInfo

New license entry information, such as license key, license type, expiration date, number of licenses, and qualifier. This argument accepts other information, such as issue date, but it does not include the information in the new entry, and the extraneous information is not saved.

Return values

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

ARGetListLicense, ARDeleteLicense, ARValidateLicense, ARValidateMultipleLicenses. See FreeAR for: FreeARStatusList, FreeARLicenseInfoStruct.

Was this page helpful? Yes No Submitting... Thank you

Comments