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

Table: UserOwnership

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
idstringyes Long-Term The unique identifier of user owning and running the query.
userUser  Long-Term The user owning and running the query. If null is returned, the user doesn't exist. See User.