KSC Open API
Kaspersky Security Center API description
params HstAccessControl::GetRole ( int  nId,
array  pFieldsToReturn 
)

Returns the role parameters.

Parameters:
nId(int) role ID.
pFieldsToReturn(array) array of strings with names of the attributes. See Role. May contain the following attributes:
  • KLHST_ACL_ROLE_DN
  • KLHST_ACL_ROLE_NAME
  • KLHST_ACL_ROLE_ID
  • KLHST_ACL_ROLE_BUILT_IN
  • KLHST_ACL_ROLE_INHERITED
  • KLHST_ACL_ROLE_READ_ONLY
  • role_products
Returns:
(params) requested parameters.