1

Closed

start workflow code will not function correctly

description

Mike,
 
In your code you are creating reference to the site/web before you are encapsulating your code with RunWithElevatedPrivilages(). Security for a sharepoint api object is determined at the time of creation. Therefore, if the user causing the action does not have permission to start workflows your code with fail with a security exception.
Closed Oct 14, 2007 at 3:37 AM by mikep175
fixed

comments

mikep175 wrote Oct 14, 2007 at 3:35 AM

:) thanks for pointing that out

wrote Oct 14, 2007 at 3:37 AM

wrote Feb 13, 2013 at 2:53 AM

wrote May 13, 2013 at 6:54 PM