sntl_licensing_login Supported in On-premises modeSupported in Lease modeSupported in Connected (Cloud LM) mode

Library Information

>This API belongs to the Sentinel RMS licensing library.

>The corresponding header is licensing.h.

Description

The basic API function to log into a feature and establish a session context.

Syntax

SNTL_DECLARE(sntl_status_t) sntl_licensing_login(sntl_licensing_app_context_t    *app_context,
                                                 const char                      *feature_name,
                                                 sntl_licensing_login_session_t  **login_session);
Argument Description
app_context [in] Pointer to the application context object.
feature_name [in] Name of the feature.
login_session [out] Session object for the login call.

Returns

The status code SNTL_SUCCESS is returned, if successful. Otherwise, a specific status code is returned indicating the reason for failure.

For the complete list of error codes, refer to Licensing Library Error and Result Codes.