Scoped GlideRecord - canWrite()

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

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

Output: