- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2018 04:00 AM
Hi Guys ,
I have two question .
1. How to get logged in user or user id in scoped application?
2.Does setAbortAction works in scoped application ?
Thanks,
Abhisek
Solved! Go to Solution.
- Labels:
-
Scoped App Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2018 04:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2018 04:11 AM
Hi Abhishek,
You can use the getUserID() or getUserName() methods in scoped apps and setAbortAction() should work. These details are all available from the developer site at the below link.
https://developer.servicenow.com/app.do#!/api_doc?v=jakarta&id=r_ScopedGlideSystemGetUserID

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2018 04:11 AM
1. gs.getUser().getID(); //sys_id
2. Yes