Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IObjectQueryRow.GetOwner Method

Gets the object's owner's user ID.

int GetOwner();

#### Return Value

the object's owner's user ID

#### Remarks

Throws a `PropertyNotRequestedException` if the user ID property was not requested in the query.

#### Exceptions

Exception Type | Condition
--- | ---
PropertyNotRequestedException | if the property was not requested

#### See Also

IObjectQueryRow Interface | Plumtree.Remote.PRC Namespace