UserOwnership is a datatype for a query running with user based ownership.

Table: UserOwnership

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
idstringyes The unique identifier of user owning and running the query.
userUser  The user owning and running the query. If null, then the user doesn't exist anymore. See User.