How to assign permissions on file?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

There are 2 Users on PC - User1 & User2. It is necessary to assign for User1 "Full control" on file c:\test.txt & to assign for User2 "Read only" on fhat file. How can I do it using .NET framework classes & C#?
 
Take a look at FileIOPermission class and available methods. And samples of
course.

HTH
Alex

CsharpStudent said:
There are 2 Users on PC - User1 & User2. It is necessary to assign for
User1 "Full control" on file c:\test.txt & to assign for User2 "Read only"
on fhat file. How can I do it using .NET framework classes & C#?
 
Back
Top