Get sensitivity label
Read the sensitivity label stored in the workbook's MSIP_Label custom document properties.
Command in the Excel toolkit · id ooa.excel/get_sensitivity_label · 1 input, 5 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Session | String | No | excel | Workbook session. |
Outputs
| Output | Type | What it is |
|---|---|---|
| label_id | String | Label GUID; empty when no label is set. |
| name | String | Label name as stored in the file. |
| site_id | String | Tenant (site) id the label belongs to. |
| method | String | How it was applied: Standard or Privileged. |
| has_label | Boolean | True when an enabled label was found. |