IAccessControl::RevokeAccessRights

Removes any explicit entries for the list of trustees.

HRESULT RevokeAccessRights(
  LPWSTR lpProperty,     //Name of the property
  ULONG cTrustees,       //Number of trustees in the list
  TRUSTEEW prgTrustees[]  //Pointer to an array of trustee names
);
 

Parameters

lpProperty
[in] Name of the property.
cTrustees
[in] Number of trustees in the list.
prgTrustees[]
[in] Pointer to an array of trustee names.

Remarks

Note that even after removing explicit entries, the trustees might still have access entries due to group inclusion.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Available as a Windows 95 redistributable.
  Windows CE: Unsupported.
  Header: Declared in oleext.h.