Scope oid query to user database