IAccessControl interface

Enables the management of access to objects and properties on the objects.


The IAccessControl interface has these methods.

Method Description
IAccessControl::GetAllAccessRights Gets the entire list of access rights and/or the owner and group for the specified object.
IAccessControl::GrantAccessRights Merges the new list of access rights with the existing access rights on the object.
IAccessControl::IsAccessAllowed Determines whether the specified trustee has access rights to the object or property.
IAccessControl::RevokeAccessRights Removes any explicit entries for the list of trustees.
IAccessControl::SetAccessRights Replaces the existing access rights on an object with the specified list.
IAccessControl::SetOwner Sets the owner or the group of an item.


Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header iaccess.h

See Also


Setting Process-Wide Security with CoInitializeSecurity