Scoped GlideSPScriptable - canReadRecord(String table, String sysId)

Returns true if the user can read the specified GlideRecord.

If the record type is kb_knowledge, sc_cat_item, or sc_category, the method checks if the user can view the item.

Table 1. Parameters
Name Type Description
table String Name of the table to query.
sysId String Sys_id of the record to query.
Table 2. Returns
Type Description
Boolean True if the record is valid and readable.