IAccessControl::RevokeAccessRights (Compact 2013)
3/26/2014
This method removes any explicit entries for the list of trustees.
Syntax
HRESULT RevokeAccessRights(
LPWSTR lpProperty,
ULONG cTrustees,
TRUSTEEW prgTrustees[]
);
Parameters
lpProperty
[in] Name of the property.If you are using the COM implementation of the IAccessControl interface, this parameter must be NULL.
- cTrustees
[in] Number of trustees in the list. This value must not be zero.
- prgTrustees
[in] Pointer to an array of trustee names.
Return Value
None.
Remarks
Even after removing explicit entries, the trustees might still have access entries due to group inclusion.
To determine whether the platform supports this interface, see Determine Supported COM APIs.
Requirements
Header |
iaccess.h |
Library |
ole32.lib, |