reset
Interface Information
This API belongs to
Description
>Resets persistence data in the following cases:
• When the system clock of the License Manager host is tampered under network licensing
•When the system clock is tampered under standalone licensing.
>Cleans the checked out commuter token for a specific client machine that is lost or damaged beyond repair. To clean commuter token for all client machines for the same feature version, set the clientHostname as SNTL_PERSISTENCE_CLEAN_ALL .
For information on when to use reset operation, refer to Cleaning Persistence Data Using Unified API.
Syntax
reset(String scope)
Parameters
Argument | Description | ||||||
---|---|---|---|---|---|---|---|
scope [in] |
Defines the type of cleaning operation and the SDK version to reset the persistence data. The input is an XML that includes the following arguments:>productVersion: The product version where resetting is required. Reset is context-dependent that means, in case of network license, RMS License Manager version would be the product version. And in case of standalone license, client library version would be the product version. The product version is a composition of major version.minor version.patch version. For e.g. 9.8.0. >persistenceCleanOperation: Determines the cleaning operation that is to be performed. Following table lists the possible values and their corresponding XML structure:
|
Usage Notes
>Administrator privileges are required to use this API.
>When performing the reset operation, make sure the licensed application/License Manager must be stopped.
>Time-tamper persistence is now feature and version-independent. This means, you need not specify feature and version for executing this API.
Returns
If unsuccessful, throws LsPmgmtException.