Scoped GlideRecord - canCreate()

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

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
Boolean True if the user's roles permit creation of new records in this table.
var gr = new GlideRecord('incident');;