What is the secure Glide Record?

ram2497
Tera Contributor

What is the secure Glide Record?

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

GlideRecordSecure is a class inherited from GlideRecord that performs the same functions as GlideRecord, and also enforces ACLs.

kindly go through the doc link below.here it has mentioned the example as well.

just try to create a table with acl and try to do the operation with gliderecord and GlideRecordSecure .

ACL would be the only difference you will find.

if someone has not an access then he wont be able to the action with gliderecord query but if he/she will try with glidesecure then it will work.

 

https://docs.servicenow.com/bundle/jakarta-application-development/page/script/glide-server-apis/con...

View solution in original post

4 REPLIES 4

p t1
Kilo Sage
Kilo Sage

Hi,

 

https://docs.servicenow.com/bundle/jakarta-application-development/page/script/glide-server-apis/concept/c_UsingGlideRecordSecure.html

 

thanks

Harsh Vardhan
Giga Patron

GlideRecordSecure is a class inherited from GlideRecord that performs the same functions as GlideRecord, and also enforces ACLs.

kindly go through the doc link below.here it has mentioned the example as well.

just try to create a table with acl and try to do the operation with gliderecord and GlideRecordSecure .

ACL would be the only difference you will find.

if someone has not an access then he wont be able to the action with gliderecord query but if he/she will try with glidesecure then it will work.

 

https://docs.servicenow.com/bundle/jakarta-application-development/page/script/glide-server-apis/con...

Hi Harsha,

i m looking of similar type of solution .

as per below link it is saying that it will shows all the records without any restrictions.  https://developer.servicenow.com/blog.do?p=/post/gliderecord-vs-gliderecordsecure/

 

1.Some time we restrict table of records  based on roles using ACL's , in this case How lideRecordSecure will works ?

 2. Some times we restrict to update fields based on roles using ACL's , in this case How lideRecordSecure will works ?

Omender Singh
Tera Guru

It is explained properly here - Click Here