Description

Gets information about all active sessions when using network licenses.

Allocates memory to store information about active sessions. To free the allocated memory, call the GrdFree() function.

Syntax

int GRD_API GrdGetSessionInfo(const char* visibilityJson,
                              const GrdVendorCodes* codes,
                              char** sessionInfoJsonArray);

Parameters

visibilityJson [optional]

JSON search parameters defining the scope of the license search, see the NEW visibility description for details

codes [optional]
Access codes assigned via the GrdVendorCodes structure
sessionInfoJsonArray

Pointer to active session data in JSON format

Return values

GRD_OK

GRD_FEATURE_NOT_FOUND

GRD_INVALID_PARAMETER

  • No labels