How to retrieve user ID from received email in Inbound email action
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2016 11:11 PM
Hi,
I want to retrieve the user id from sender email address in the inbound email action.
Please post your suggestion.
Regards,
RK
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2016 11:12 PM
Hi Ravi,
From the sender email glide the user table and fetch the user ID.
Regards,
Arpit Taneja

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2016 11:39 PM
Hi Ravikumar,
When your IEA is run, the system impersonates the user recognized from the sender's address (assuming it is a recognized email address).
Therefore, to get the user's username, just use:
gs.getUserName()
Or, to get their sys_id, use:
gs.getUserID()
Thanks,
-Brian