- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2022 09:48 PM
HI,
In terms of performance, which is best practice to use?
GlideRecordSecure or GlideRecord with canRead?
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 09:52 PM
I see multiple answers to this question, but none of them discuss the GlideRecord() method with the canRead() method.
If we use GlideRecordSecure(), it evaluates all ACLs (read/write/create/delete/etc.), so the overall execution time is relatively higher.
With the GlideRecord() and canRead() method, it doesn't need to evaluate all ACLs here. If we are using canRead(), then only READ ACL will be evaluated, which skips other ACLs.
So with GlideRecord() & canRead(), we will be able to achieve both security and performance (to some extent only), so better to use this one.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 09:52 PM
I see multiple answers to this question, but none of them discuss the GlideRecord() method with the canRead() method.
If we use GlideRecordSecure(), it evaluates all ACLs (read/write/create/delete/etc.), so the overall execution time is relatively higher.
With the GlideRecord() and canRead() method, it doesn't need to evaluate all ACLs here. If we are using canRead(), then only READ ACL will be evaluated, which skips other ACLs.
So with GlideRecord() & canRead(), we will be able to achieve both security and performance (to some extent only), so better to use this one.