I am asking this question since I am new to working with SharePoint 2013, but I have programming experience working with C#.net and VB.NET.
I have a workflow 2013 that is accessed by a custom list (and updated by Infopath 2013). Once a user has submitted the custom list to the workflow 2013, there will be the 'proper' authorized person in the company that will approve or reject the request. Once the user has submitted the request, I do not want them to be able to update the list any more. I want the user to only have 'view' access.
In workflow 2010, I see that there is the impersonate step that would change the permisisons for me. However I would prefer not to use an older version of the workflow.
Thus can you show me and/or point me to links that will do the following:
1. What .net code could I use that will change the permissions on the custom list I mentioned above. The code can be in either C#.net or VB.net?
2. If I am able to use the .net code, would you show me how to 'wire together' the .net code with the 2013 workflow? I do know that I would use Visual Studio.net 2012 to write the code. Would you explain, draw a picture, and/or point me to a url that will explain
to me where to place the .net code so it is connected to the workflow 2013?