This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - What account do methods run under?

Phil - Friday, October 7, 2011 12:40 PM:

Its a question I often ask myself, and I do not know the answer to, although I probably should.  What user account do Server Methods run under?

For example, if I have a workflow..and at a certain activity I have Server Methods which are run on Vote, what user account do these methods run as?  I have often worried that I could run into permissions issues if I am trying to change Item properties from Server methods if whatever account doesnt have the proper permissions.



aknourenko - Thursday, October 13, 2011 12:48 PM:

Server methods are ran with permissions of the user who's actions caused the method to be called. For instance, user A saves an item; a server method set as event handler for onBeforeUpdate event on the item's item type will be executed with the permissions of user A.