KSC Open API  13.1
Kaspersky Security Center API description
wstring ProductUserTokenIssuer::IssueUserToken ( wstring  wstrProductName,
wstring  wstrProductVersion 
)

Issue user token.

Underlying backend command is "IssueUserToken" - get new user access/refresh token pair.
All issued tokens for current user automatically revoked by KSC server when user rights changed for specified product or when KSC server restarts.
Command result may be obtained using AsyncActionStateChecker.
Command result format is defined by product backend, errors returned as Asynchronous action errors

Parameters:
wstrProductName[in] (wstring) Product name
wstrProductVersion[in] (wstring) Product version
Returns:
[out] (wstring) Async action identifier
See also:
Product backend commands