---
name: "allDiarySubjects"
type: command
status: ok
groups: ["Briefing"]
arma3_since: "2.04"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/allDiarySubjects
revid: 377670
updated: 2026-01-02T09:02:28Z
---

# allDiarySubjects

*Command · Briefing · Arma 3 v2.04*

Locality: arguments **global** · effect **local**

## Description

Returns array with all Diary subjects available to the given person. See Diary for the explanation on the available subjects and their structure.

## Syntax

```sqf
allDiarySubjects person
```

**Parameters:**

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

**Returns:** [Array](../topics/Array.md) with [name, displayName, picture, countRecords, isReadOnly, isSelected]
- name: [String](../topics/String.md) - internal subject reference
- displayName: [String](../topics/String.md) - visible name
- picture: [String](../topics/String.md) - subject icon
- countRecords: [Number](../topics/Number.md) - number of records in this subject
- isReadOnly: [Boolean](../topics/Boolean.md) - whether or not the records could be added
- isSelected: [Boolean](../topics/Boolean.md) - [true](../commands/true.md) if subject is currently selected

## Examples

### Example 1

```sqf
allDiarySubjects player;
```

## See also

[createDiarySubject](../commands/createDiarySubject.md) · [removeDiarySubject](../commands/removeDiarySubject.md) · [diarySubjectExists](../commands/diarySubjectExists.md) · [selectDiarySubject](../commands/selectDiarySubject.md) · [setDiarySubjectPicture](../commands/setDiarySubjectPicture.md) · [allDiaryRecords](../commands/allDiaryRecords.md) · Diary

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