Hello experts,
I have a server method which should run as a superuser and do some work. Inside that method I have to do some processing that requires a docbase session.
My question is, what is the best way to get a session inside of the method? I know how to do this for workflow methods, for them we can get a session from the workitem which is passed to the metod as an input parameter.
For common server methods I know only one way of obtaining a session.For I get install owners name from the server and create a trusted login session.But is that the best way of doing it? what is the best practice?