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

Receives the trustee's data.

Parameters:
nId(int) trustee's ID.
pFieldsToReturn(array) array of strings with names of the attributes. The following attributes are possible:
  • KLHST_ACL_TRUSTEE_ID (paramInt) - Trustee's ID.
  • KLHST_ACL_TRUSTEE_SID (paramBinary) - trustee's SID.
  • id (paramString) - Account ID.
  • dn (paramString) - Account display name, as user-friendly string for account, for example, "LocalSystem", or "MYCOMPUTER\sidorov", or "sidorov@avp.ru" and so on.
  • userPrincipalName (paramString) - Active Directory userPrincipalName attribute.
  • objectGUID (paramBinary) - Active Directory objectGUID attribute. This attribute is required for the non-built-in Active Directory accounts.
Returns:
(params) trustee's data.