IAccessControl interface (iaccess.h)

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

Inheritance

The IAccessControl interface inherits from the IUnknown interface. IAccessControl also has these types of members:

Methods

The IAccessControl interface has these methods.

 
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.

Requirements

Requirement Value
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

CoInitializeSecurity

Setting Process-Wide Security with CoInitializeSecurity