UserOwnership is a datatype for a query running with user based ownership. It implements the interface datatype, QueryOwnership.

Table: UserOwnership

ParameterTypeRequiredDefaultStabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results.
Table last updated: Sep 17, 2025
idstringyes Long-TermThe unique identifier of user owning and running the query.
userUser  Long-TermThe user owning and running the query. If null is returned, the user doesn't exist. See User.