IAccessControl::RevokeAccessRights (Windows Embedded CE 6.0)

1/6/2010

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 Determining Supported COM APIs.

Requirements

Header iaccess.h
Library ole32.lib, uuid.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

IAccessControl
IAccessControl::GrantAccessRights