Skip to content

Commit b41c0e0

Browse files
authored
feat: Add User Info Bookmarklet snippet (#1874)
* Create readme.md * Create user_info_bookmarklet.js * Update readme.md * Update readme.md * Update user_info_bookmarklet.js Made changes so it should work in workspace as well * Update readme.md Added screenshot to show how it looks
1 parent a6ec3f5 commit b41c0e0

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# ServiceNow User Info Bookmarklet
2+
3+
A simple, client-side bookmarklet to display the current ServiceNow user's details in a pop-up modal. It's designed for developers, testers, and administrators who need to quickly check a user's name, sys_id, and full list of assigned roles
4+
5+
## Features
6+
7+
* **Displays Key User Info**: Shows Full Name, User Name, and User ID (sys_id)
8+
* **Shows All Roles**: Lists the complete, sorted array of roles, including inherited roles
9+
10+
11+
## How to Use
12+
13+
1. Create a new bookmark in your browser
14+
2. For the name, enter something memorable like **SN User Info**
15+
3. Copy the code from user_info_bookmarklet.js
16+
4. Paste the code into the **URL** or **Address** field of the bookmark
17+
5. Save the bookmark
18+
6. While on any ServiceNow page, click the bookmark to activate the modal
19+
20+
<img width="1899" height="761" alt="image" src="https://github.com/user-attachments/assets/6dd8e92a-f905-4516-b1be-61e32a4de35c" />
21+

Specialized Areas/Browser Bookmarklets/Show Logged-in User roles/user_info_bookmarklet.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)