sntl_licensing_identity_serialize
Library Information
>This API belongs to the Sentinel RMS licensing library.
>The corresponding header is licensing.h.
Description
Converts an identity object to an identity string.
You can set the identity string in an attribute object and pass the same in the sntl_licensing_login_attr API function.
Syntax
SNTL_DECLARE(sntl_status_t) sntl_licensing_identity_serialize (const sntl_licensing_identity_t *identity,
char **identity_string);
Argument | Description |
---|---|
identity [in] | Pointer to the identity object returned by sntl_licensing_identity_new. |
identity_string [out] |
The string retrieved from the identity object. It can be used as an attribute in the sntl_licensing_login_attr API function. |
Returns
The status code SNTL_SUCCESS is returned, if successful. Otherwise, a specific status code is returned indicating the reason for failure. For a complete list of error codes, see Licensing Library Error and Result Codes