---
name: "owner"
type: command
status: ok
groups: ["Multiplayer"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": null, "server_exec": true}
source: https://community.bistudio.com/wiki/owner
revid: 363241
updated: 2024-03-26T10:51:18Z
---

# owner

*Command · Multiplayer · Arma 3 v0.50 · introduced in Arma 2 v1.00*

Locality: arguments **global** · **server execution only**

## Description

On server machine, returns the [machine network ID](../topics/Multiplayer_Scripting.md#machine_network_id) of the client to which the object is [local](../topics/Multiplayer_Scripting.md#locality). Otherwise returns 0. For use on clients [clientOwner](../commands/clientOwner.md) command is available. To find out the owner of a [Group](../topics/Group.md), use [groupOwner](../commands/groupOwner.md).

## Syntax

```sqf
owner object
```

**Parameters:**

- `object`: [Object](../topics/Object.md)

**Returns:** [Number](../topics/Number.md)

## Examples

### Example 1

```sqf
_clientID = owner _someobject;
```

## See also

[publicVariableClient](../commands/publicVariableClient.md) · [setOwner](../commands/setOwner.md) · [setGroupOwner](../commands/setGroupOwner.md) · [groupOwner](../commands/groupOwner.md) · [flagOwner](../commands/flagOwner.md) · [onPlayerConnected](../commands/onPlayerConnected.md) · [didJIPOwner](../commands/didJIPOwner.md) · [local](../commands/local.md) · [admin](../commands/admin.md) · [remoteExecutedOwner](../commands/remoteExecutedOwner.md)

<sub>Source: [BI Community Wiki — owner](https://community.bistudio.com/wiki/owner) (revision 363241).</sub>
