Paul, Thank you for the reply. Didn't know that was possible.
But it won't help me out ...
If I want to make use of the document context, I need to set the security of the agent to 'run as webuser'.
In that case, the XML parser gives an error.
So the main problem is, if the agent is run in name of the signer (so not the web user), I need to access some 'user' settings. In a document would be fine, in a profile, in a variable, ...