How to use Visual Basic and ADsSecurity.dll to properly order ACEs in an ACL (269159)
The information in this article applies to:
- Microsoft Active Directory Services Interface, System Component
- Microsoft Active Directory Services Interface, Microsoft Active Directory Client
- Microsoft Windows Script Host 2.0
This article was previously published under Q269159 SUMMARYThis article shows how to use ADsSecurity.dll to obtain a security descriptor (SD) for a file, Active Directory object, or registry key. This article demonstrates how, once a SD has been obtained, to retrieve the discretionary access control list (ACL) from that SD and then add an Access Control Entry (ACE) in the proper location. The article provides a simple algorithm along with a Microsoft Visual Basic code example illustrating how to properly order an ACL then write the ACL back to the SD.
REFERENCES
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
269175
How to use Visual C++ to properly order ACEs in an ACL
279682 How to use ADsSecurity.dll to add an access control entry to an NTFS folder
For additional information about how to install Active Directory Client Extension, click the following article number to view the article in the Microsoft Knowledge Base:
288358
How to install the Active Directory Client Extension
Modification Type: | Major | Last Reviewed: | 5/20/2005 |
---|
Keywords: | kbDSWADSI2003Swept kbhowto KB269159 kbAudDeveloper |
---|
|