I have the object query:
s Rset=##class(%ResultSet).%New("%SYSTEM.License.UserListAll")
I can loop through that query and it generates the report information that I need.
I have a Python process where I use the intersys import to connect to the Cache instance. But I have been unable to determine the correct syntax in Python for this query. Being that 'UserListAll' is a query I attempted to user:
res = <query>.prepare("select * from %SYSTEM.License_UserListAll")