Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2022 03:36 AM
Hi Piyush,
gs.getUser() method returns a user object. So you can fetch logged-in users details by using this object.
Example:
var userOBJ= gs.getUser();
gs.print(userOBJ.getFirstName()); //print the first name of the user
Kindly mark correct and helpful if applicable