# GetAllProperties

```lua
exports.nolag_properties:GetAllProperties(owner, ownerType, includeRented)
```

#### Parameters <a href="#parameters" id="parameters"></a>

* owner: `string` The identifier of the owner (citizenid or job name)
* ownerType: `'user'` or `'society'` The type of the owner
* includeRented?: `boolean` Whether to include the rented properties too

#### Return Value <a href="#return-value" id="return-value"></a>

The following table, or an empty table if the owner doesn't have any rented properties or own any properties

* id: `number`
* label: `string`&#x20;
* price: `number`
* type: `string`
* doorLocked: `boolean`
* coords: `vector3` or `vector4`
* hasKey: `boolean`
