web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :

XDS Security Policy: How to view Runtime SQL Query

Sohaib Cheema Profile Picture Sohaib Cheema 49,670 Super User 2026 Season 1

While using security policies, sometimes, it is very much required to see what is happening behind the scene. i.e. runtime quires which are restricting data across whole ax. To know this we can run query on Model Database as following

 

SELECT PrimaryTableAotName, QueryObjectAOTName,ConstrainedTable, ModeledQueryDebugInfo, ContextType,ContextString,IsEnabled,IsModeled
FROM [ModelSecPolRuntimeEx]



XDSQuery.png

 

This way, we can see actual SQL queries to know exactly, what is happening behind a security policy, which can help in debugging.


Comments

*This post is locked for comments