Works beatifully. Thanks
Axton
On 11/18/06, Carey Matthew Black <[EMAIL PROTECTED]> wrote:
Axton,
// given that .... PluginContext pc
ARPluginContext apc = (ARPluginContext)pc;
// then from there either
ARServerUser arsu= apc.getServerUser();
Return the default ar server user.
// OR....
ARServerUser arsu= apc.getServerUser(java.lang.String server) ;
That should get you where I think your going.
--
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS = Action Request System(Remedy)
Love, then teach
Solution = People + Process + Tools
Fast, Accurate, Cheap.... Pick two.
On 11/18/06, Axton <[EMAIL PROTECTED]> wrote:
> ** Hopefully some of you java guru's are up late.
>
> How do you use the context (ARServerUser) provided by the mid-tier from
> within a DV plugin for methods that require a session context?
>
> Examples:
> - all the methods within com.remedy.arsys.api.Util require an
ARServerUser
> object
> - com.remedy.arsys.api.ARServerUser is required for
> com.remedy.arsys.api.EntryFactory.findByKey
>
> Thanks,
> Axton Grams
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where
the Answers Are"
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers
Are"