KSC Open API
Kaspersky Security Center API description
array UserDevicesApi::CreateEnrollmentPackagesMulti ( array  pUsers,
int  lLiveTime,
array  pProtSpecInfo 
)

Multi-user version of CreateEnrollmentPackages() method.

The method returns before the package is finally created, to find out when the package is ready you should call method UserDevicesApi.GetEnrollmentPackage many times.

Parameters:
pUsers(array) array of user notification structures (see Multi-user notification item structure)
lLiveTime(int) means how long the enrollment package is available for download (in hours)
pProtSpecInfo(array) array of params contains protocols specific data (see Protocols specific data)
Returns:
(array) array of package ids to be used to access the enrollment packages state and its attributes, ex: [{pkg_type, pkg_id}, ...].
See also: