canRead()

This method checks against table level ACLs and returns a boolean representing whether the current user can read a record for the current GlideRecord table.

For better performance and grainularity, please see GlideSecurityManager

Parameters: None

Returns: Bool

A boolean representing whether the current user can read a record for the current GlideRecord table.

Mutates Self?

As far as I can tell, no.

Examples:

Script

var incidentGr = new GlideRecord('incident');
gs.print(incidentGr.canRead());

Output

true