- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2017 01:10 AM
Hello,
I have a very simple work flow in which I have to use currently logged in user's email address. How can I get this?
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2017 01:14 AM
Hi Raj,
var myUserObject = gs.getUser();
myUserObject.getEmail() -- returns the email address of the current user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2017 01:14 AM
Hi Raj,
var myUserObject = gs.getUser();
myUserObject.getEmail() -- returns the email address of the current user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2017 01:43 AM
Thanks Sneha.
Right on dot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2021 05:53 AM
So how can i get email of current user on client scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2017 01:16 AM
Hi Rajankumar,
var user = gs.getUser();
user.getEmail();