The dsacls command-line tool displays and allows the ability to changes permissions (Access Control Lists; ACL) of objects in Active Directory.
In order to run this tool (and others) you will need to install the Windows Server Support Tools that can be downloaded here. These tools are no longer included on the Windows Server install disc for Windows Server 2008.
Example:
In this example I am querying the ACL's of an Active Directory object.After installing the dsacls.exe using the Windows Server Support tools, you can run the following:
C:\Users\adinn>dsacls "CN=account,OU=Accounts,DC=Domain,DC=com">Object_output.txt
Running this simple command will result in all the security ACL's for that object being displayed in the text file such as the following example.
Allow NT AUTHORITY\SELFSPECIAL ACCESSREAD PERMISSONSLIST CONTENTSREAD PROPERTYLIST OBJECTAllow NT AUTHORITY\SYSTEMFULL CONTROLAllow BUILTIN\Pre-Windows 2000 Compatible AccessSPECIAL ACCESS <Inherited from parent>READ PERMISSONSLIST CONTENTSREAD PROPERTYLIST OBJECT