Learn ServiceNow GlideRecordSecure | GlideRecordSecure vs GlideREcord | GlideRecordSecure
GlideRecordSecure
Class inherited from GlideRecord
Performs the same functions as GlideRecord AND enforces ACLs
Non-writable Fields
Are set to NULL when trying to write to the database
canCreate() on the column is replaced with canWrite()
if it returns false, the column value is set to NULL
Checking for NULL Values
If an element can not be read because an ACL restricts access, a NULL value is created in memory for that record
You do NOT have to check for read access
If(!grs.canRead()) continue;
the next () method simply moves to the next record in the GlideRecord object