Amitava_Mukherjee
asked on
Get Effective Permission using .NET
I want to get the effective permissions of an user on a directory or file by using .NET.
How to get it in C#?
Thank You
How to get it in C#?
Thank You
ASKER
This function works if I explicitely give rights to a particular user on the file/folder, but not the effective rights.
Please provide some C# code so that I can get the Effective Permission.
Sorry for the delayed response.
Please provide some C# code so that I can get the Effective Permission.
Sorry for the delayed response.
I could not get what do you mean about 'EFFECTIVE PERMISSION', but as i understood, check the following web address:
http://stackoverflow.com/questions/130617/how-do-you-check-for-permissions-to-write-to-a-directory-or-file
http://stackoverflow.com/questions/130617/how-do-you-check-for-permissions-to-write-to-a-directory-or-file
ASKER
If I right click a folder and then select Security -> Advanced, I get an 'EFFECTIVE PERMISSION' Tab. Then if I select the user if shows some permissions - I want to get that 'EFFECTIVE PERMISSION'
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
lol...nice.. :)
Sweet timing!! Great minds, and all that!!
ASKER
Thanks for the solution
Open in new window