IAccessList Interface

Inherited from

IDispatch

IUnknown

Applies to Objects
ObjectSecurity

This interface is useful to handle the individual Access Control Entries (ACEs) in the Access Control List (ACL) of the security descriptor of an object. This interface represents a collection of ACEs. The ACEs can be enumerated using For Each... in VB and VBScript.

Property/Method

Description

AddAccessEntry

Adds the new Access Entry to this list

Count

Gets the number of ACEs in this ACL

DeleteAccessEntry

Deletes an Access Entry

SortAccessEntries

Sorts the Access Entries as specified

Usage
A securable object of Windows, for example, an NTFS file, a registry key, or an attached printer should be attached to a COM object before using IAccessList. This can be done using the AttachXXX function of IObjectSecurity. After this, the IObjectSecurity::GetAccessList() method can be used to obtain an IAccessList.

 

See Also