Click here to Skip to main content
15,747,766 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, I am facing trouble with one issue - say i am copying a folder with two files in "All Users" folder. Now, I am logging in as non-admin and found i can't edit the file. Tried to grant permission for that user from code - but failed. The folder is missing security permission for the local non-admin user, i am logging in. So, is it possible to write code which will assign full control permission to any folder or file for the currently logged in user?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900