M
Mike Spike
HI all,
How do I go about getting the permmisions of a file.
I have been able to get a list of access control rules and tell if they are
restricting or permiting a permmision but I cant tell which role / right
they are refering to:
I can get this type information by using the fileSystemSecurity object and
pointing it to a file or folder:
---------------------------------
Administrator, allow, inhertited
Users, allow, inhereted
----------------------------------
But what I am aiming for is
---------------------------------
Administrator, allow Full Control, inhertited
Users, allow, read + Modify, inhereted
----------------------------------
I have looked through the classes in the security name space but I am not
sure which class I need to do this or if the class I am using will work.
Any help would be very welcome or even any external refrences.
By the way I am using VB.Net and the 2.0 framework.
I have posted this in the dotnet.security group as well. as it spans both vb
and security.
Regards,
Mike
How do I go about getting the permmisions of a file.
I have been able to get a list of access control rules and tell if they are
restricting or permiting a permmision but I cant tell which role / right
they are refering to:
I can get this type information by using the fileSystemSecurity object and
pointing it to a file or folder:
---------------------------------
Administrator, allow, inhertited
Users, allow, inhereted
----------------------------------
But what I am aiming for is
---------------------------------
Administrator, allow Full Control, inhertited
Users, allow, read + Modify, inhereted
----------------------------------
I have looked through the classes in the security name space but I am not
sure which class I need to do this or if the class I am using will work.
Any help would be very welcome or even any external refrences.
By the way I am using VB.Net and the 2.0 framework.
I have posted this in the dotnet.security group as well. as it spans both vb
and security.
Regards,
Mike