Troy,
One way would be to use P/Invoke, reading Keith Brown's book "The .NET
Developer's Guide to Windows Security" from Addison Wesley it does not
appear to be that difficult, however there are a number of P/Invoke
functions & structures that you need to use. Most of Keith's samples are
actually in Managed C++ that create helper objects that you can simply call
from VB.NET or C#. For info on the book (and an on-line version) see:
http://www.pluralsight.com/keith/book/html/book.html
Reading Keith's book I understand that VS.NET 2005 (.NET 2.0) aka Whidbey
due out later in 2005 provides support to check & set Win32 permissions on
objects. For info on VS.NET 2005 see
http://lab.msdn.microsoft.com/vs2005/.
I'm not sure if WMI supports this or not.
Hope this helps
Jay
"Troy" <Tr**@discussions.microsoft.com> wrote in message
news:2C**********************************@microsof t.com...
Is there a way in Visual Basic to determine when a user has explicit
rights
to a directory and when they have rights due to inheritance?