Posted on August 4, 2009. Filed under: Code Snippets | Tags: code, Moss workflow, permissions |
/ Set specific permissions <frm workflow view>
System.Collections.Specialized.HybridDictionary itemPermissions = new System.Collections.Specialized.HybridDictionary();
itemPermissions[workflowProperties.Originator] = SPRoleType.Contributor; (or give him appropriate permissions )
itemPermissions[taskApprover] = SPRoleType.Contributor;
createTask.SpecialPermissions = itemPermissions;
Make a Comment
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.
Xperiments n Xperiences. For the Last 5 years I have been providing variuos portal solutions (SharePoint focused) to my clients and now I intend to publish few of those solutions 'Not As It Is', which might help you. – Mash
Liked it here?
Why not try sites on the blogroll...
Blog at WordPress.com.