AnsweredAssumed Answered

Wrapping functionality to run as system user...

Question asked by rberg on Feb 21, 2006
Latest reply on Apr 23, 2009 by risenhoover
Hello,

I was wondering if there is a way to wrap the execution of certain code so that it is run as the system user or a user with more priveledges.

I am running into an issue where I would like to perform some checks, but the currently authenticated user does not have the priveledges to do so.

Specifically, I have created notification functionality that allows you to alert other users to a document. But, I would like to filter the list of users that can be selected based on whether or not they have read priviledges on the document that is being alerted.  Every approach I have tried I have been thwarted.

You help is greatly appreciated.
-Ryan

Outcomes