Scoped GlideRecord - canRead()

Determines if the Access Control Rules, which include the user's roles, permit reading records in this table.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Boolean True if the user's roles permit reading records from this table.
var gr = new GlideRecord('incident');
gs.info(gr.canRead());

Output: