I\'m trying to programmatically determine whether the current user has certain permissions on a given Active Directory object (specifically in this case, I\'m trying to determin
Here's the MSDN article that explains - http://msdn.microsoft.com/en-us/library/windows/desktop/ms675580(v=VS.85).aspx. There is an attached sample that shows how to call the API.