Name

global.SysUserList

Description

Locate the list associated with the current user for the table and view

Script

gs.include("PrototypeServer");
gs.include("AbstractList");

var SysUserList = Class.create();

SysUserList.prototype = Object.extendsObject(AbstractList, {

get : function() {
   return this.getUserList();
},

getUserList : function() { 
   var answer = new GlideRecord(this.SYS_UI_LIST);
   answer.addQuery(this.NAME, this.tableName);
   answer.addQuery(this.VIEW, this.view);
   answer.addQuery(this.SYS_USER, this.user);
   this.addParentQuery(answer);
   this.addRelationshipQuery(answer);
   this.domainQuery(answer);
   if (!answer.next())
      return null;
  
   return answer.sys_id.toString();
},

z : function() {
}

});

Sys ID

7dc9266bc0a80164003bff257b3ff216

Offical Documentation

Official Docs: