dodgerfan
asked on
Allow users to set permissions on documents they create in windows
I am trying to come up with a way of letting my users set the permissions on a document they create. I'm using c#, with visual studio 2017. This is in a windows environment. I was thinking of maybe adding a context item so when they right click a document one of the options is Set Permissions. When that is clicked it opens a dialog that let's them choose users and give them Edit/Read permissions. And the list of users they see would have to be restricted to the users in their assigned group. I'm hoping for ideas, sample code, anything to help. Thanks.
administrator not administer
You're doing it backwards. What you need to be looking at is folder permissions for the individuals or groups, then have them place the files in those folders. Doing it on a file by file basis is tedious.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thought experiment: Allow users to modify permissions on documents.
User X (basic user) allows user X to run document as administer. Document runs a macro to elevate user X permissions to administer level. User X is now has administer permissions.