Skip to main content

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​

InputTypeRequiredDefaultWhat it is
SessionStringNoexcelWorkbook session.

Outputs​

OutputTypeWhat it is
label_idStringLabel GUID; empty when no label is set.
nameStringLabel name as stored in the file.
site_idStringTenant (site) id the label belongs to.
methodStringHow it was applied: Standard or Privileged.
has_labelBooleanTrue when an enabled label was found.