mirror of
https://github.com/fleetdm/fleet
synced 2026-05-06 06:48:54 +00:00
27 lines
605 B
YAML
27 lines
605 B
YAML
name: groups
|
|
examples: |-
|
|
See all groups with the `IsHidden` OpenDirectory attribute:
|
|
|
|
```
|
|
SELECT * FROM groups WHERE is_hidden='1';
|
|
```
|
|
|
|
Collect the users that are members of the `admin` group:
|
|
|
|
```
|
|
SELECT * FROM groups JOIN user_groups USING (gid) JOIN users USING (uid) WHERE groupname='admin';
|
|
```
|
|
columns:
|
|
- name: group_sid
|
|
platforms:
|
|
- windows
|
|
- name: comment
|
|
platforms:
|
|
- windows
|
|
- name: is_hidden
|
|
platforms:
|
|
- darwin
|
|
- name: pid_with_namespace
|
|
platforms:
|
|
- linux
|
|
notes: "* On Windows, `gid` and `gid_signed` are always the same"
|