Folder Permissions
-
Hi guys, I need to give permission to an specific folder to a user using C#. Does anyone ever done that ? Is there any class capable of changing files and folders permissions in .NET ? thanks in advance Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
English is not my native language so, if you find any spelling erros in my posts, please let me know. -
Hi guys, I need to give permission to an specific folder to a user using C#. Does anyone ever done that ? Is there any class capable of changing files and folders permissions in .NET ? thanks in advance Mauricio Ritter - Brazil Sonorking now: 100.13560 MRitter
English is not my native language so, if you find any spelling erros in my posts, please let me know.No, there are no classes in the .NET base class library that can do this, but there are ways you can P/Invoke the necessary functions. Search the comments for this forum, as I know we've talked about it before. I also remember seeing an article or two here on CP about the topic as well.
-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----