WeÃÂ have created a MS InfoPath form with it's corrsponding SharePoint Document Form Library, but would like toÃÂ restrict the access to the SharePoint Document Form Library. After the user completes and submits the forms then he/she should not be able to go into the SharePoint Document Form Library and view the form. In order to allow users to fill out and submit an InfoPath form, Contributor level access is required to be granted. But Contributor level access allows them to view not only the form he/she has created but everyone else's which is not acceptable in this particluar situation. The solution we've come up with is to grant Contributor access to the SharePoint Document Form Library when the Submit button is pressed using stsadm grant the user Contibutor role. Then remove the access once the submission is completed.
We would be interested to know if there is a better process to accomplish this task. And, of equal importance, the coding that is required to execute this task.
View Complete Post