Hi,
I’d like to filter for the current session UserID for use in a table criteria. I want a record for only the current user from a UD table.
Has anyone seen something like this?
Thanks,
Joe
Hi,
I’d like to filter for the current session UserID for use in a table criteria. I want a record for only the current user from a UD table.
Has anyone seen something like this?
Thanks,
Joe
On a BPM? or a Customization?
BPM
string user = callContextClient.CurrentUserId
Customization
You’ll need to bring in the Ice.Core.Session.dll
string user = ((Ice.Core.Session)oTrans.Session).UserID
//or
EpiDataView edvcc = oTrans.Factory("CallContextClient");
string user = edvcc.dataView[edvcc.Row]["CurrentUserID"].ToString()
Sorry, Jose, I didn’t put the need in the body of the email. It’s in the
RDD.
I’d like to use it to filter in an RDD table criteria when the user clicks
the print button in a print dialog (job traveler in this case).
I’m writing a record out to a UD table on the tool click, and would like to
add the current user ID to the UD table record. When the RDD runs I’d like
to filter the response by user when the RDD does its magic.
It’s to prevent collisions if two users click print on the report at about
the same time.
Thanks,
Joe
You can add the user ID when you create the UD record no? Just use the above info to add the user ID to the UD record… Unless I am misunderstanding…
How are you creating the UD record? you said on tool click that leads me to believe its in a customization, so just add the customization code to include the user id in the UD record.
Yes, I can add the user ID to the UD table, but then I need to filter the
UD table for that record when the RDD runs.