Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Background script to check if a specific user has access to UI page
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
Below background script can be used to analyze if user has access to UI page
*/

var user = '5381f6fbdb5f4d14567a8e7a4896192e'; // Gets current user ID
var pageId = "manage_access"; // Replace with your actual page ID

var spScriptable = new GlideSPScriptable();
var canAccess = spScriptable.canSeePage(pageId);

gs.print("User " + user + " can access page '" + pageId + "': " + canAccess);
Loading