What is Glide Secure API

gfgdsffqfsdf
Kilo Contributor

Could someone provide me information on Glide Secure API?

1 ACCEPTED SOLUTION

Amit Gujarathi
Giga Sage
Giga Sage

Hi Developer ,

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...

 

Please mark correct or helpfull.

 

Regards,

Amit Gujarathi


Was this answer helpful?


Please consider marking it correct or helpful.


Your feedback helps us improve!


Thank you!


Regards,


Amit Gujrathi



View solution in original post

3 REPLIES 3

Amit Gujarathi
Giga Sage
Giga Sage

Hi Developer ,

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...

 

Please mark correct or helpfull.

 

Regards,

Amit Gujarathi


Was this answer helpful?


Please consider marking it correct or helpful.


Your feedback helps us improve!


Thank you!


Regards,


Amit Gujrathi



Thanks for the information

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

GlideRecordSecure - Evaluate ACLs for READ, CREATE, WRITE, DELETE

GlideRecord - ACLs are not evaluated

good explanation here

ServiceNow Server-Side Scripting Best Practices

https://therockethq.gitbooks.io/servicenow1/content/index/index/scripting/scripting-concepts/glidere...

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader