Partager via


IAccessControl::RevokeAccessRights

This method removes any explicit entries for the list of trustees.

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 Values

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

OS Versions: Windows CE 3.0 and later.
Header: IAccess.h.
Link Library: Ole32.lib, Uuid.lib.

See Also

IAccessControl::GrantAccessRights

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.