login (with attributes)
Interface Information
>This API belongs to SentinelLicensing.dll.
>The corresponding library is Sentinel RMS licensing library.
Description
The basic API function to log into a feature and establish a session context. This API also allows passing additional values for specific purposes at the time of obtaining a license authorization.
NOTE For Lease mode, if the entitlement is not obtained, then as a workaround, the transfer API should be called explicitly with the <sync> action tag.
Syntax
void login(ApplicationContext appCtx, String featureName, Attribute attribute)
Parameters
Parameter | Description |
appCtx [in] | The application context object. |
featureName [in] | Name of the feature. |
attribute [in] |
The attributes that can be set are described below. |
Attributes
The table below provides details about the attributes that can be set:
Exception Handling
If unsuccessful, throws LicensingException.