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

# groupOwner

*Command · Multiplayer · Arma 3 v1.40*

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

## Description

Returns the [machine network ID](../topics/Multiplayer_Scripting.md#machine_network_id) of the client to which the group is local. This command only works when called from the server. When called from a client, it always returns 0.

## Syntax

```sqf
groupOwner group
```

**Parameters:**

- `group`: [Group](../topics/Group.md)

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

## Examples

### Example 1

```sqf
_clientID = groupOwner _someGroup;
```

## See also

[owner](../commands/owner.md) · [setOwner](../commands/setOwner.md) · [setGroupOwner](../commands/setGroupOwner.md) · [local](../commands/local.md) · [group](../commands/group.md) · [didJIPOwner](../commands/didJIPOwner.md) · [remoteExecutedOwner](../commands/remoteExecutedOwner.md)

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