I am after ideas on the best way to achieve the following:
I have a document which goes through an approval process. When the document is approved, it is moved to a document library.
Depending on some values which are collected as part of the process, I want to query a database, and retrieve all of the groups/users that should have read permissions on the document, and then give these users read permissions on the document in the document library.
The bit that I am not sure how to achieve is actually setting the permissions on the document - I know this can be done from a user management activity by adding the user to the item, and then giving permissions, but how can I get it to do this for each of the records that is returned from the database?
Thanks in advance for any assistance on this!!
Setting Permissions on Document in a Sharepoint Doc Library
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.