This might work .. but I am having some problems with it
DirectoryInfo dInfo = new DirectoryInfo("C:/Temporary");
DirectorySecurity dSecurity = dInfo.GetAccessControl();
Console.WriteLine(dSecurity.GetAccessRules(true,tr ue, Type
targetType******).ToString())
I dont know what the 3rd parameter marked ***** will be
I'm not even sure if this will work .. just one of the things I am
trying
On Jul 10, 12:20 pm, "Willy Denoyette [MVP]"
<willy.denoye...@telenet.bewrote:
<kanepa...@hotmail.comwrote in message
news:11**********************@r34g2000hsd.googlegr oups.com...
I tried using directorysecurity but i get undesired results. Maybe I'm
not using it right.
Mind to post your code and what you are expecting, getting the effective
access permissions is not a trivial task and may require administrative
privileges to get it right.
Willy.