Edit

Excel.Interfaces.SensitivityLabelsCatalogData interface

An interface describing the data returned by calling sensitivityLabelsCatalog.toJSON().

Properties

getLabelingCapabilities

Gets the labeling capabilities for Excel. Use Array.includes to determine whether a capability is available.

getLabelingCapability

Gets whether the catalog of sensitivity labels is enabled in Excel.

Property Details

getLabelingCapabilities

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Gets the labeling capabilities for Excel. Use Array.includes to determine whether a capability is available.

getLabelingCapabilities?: Excel.LabelingCapability[];

Property Value

Remarks

API set: ExcelApi BETA (PREVIEW ONLY)

getLabelingCapability

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Gets whether the catalog of sensitivity labels is enabled in Excel.

getLabelingCapability?: Excel.LabelingCapability | "NoLicense" | "LabelingDisabled" | "LabelingPolicyNotFound" | "LabelingEnabled" | "AttributeBasedAccessControlEnabled";

Property Value

Excel.LabelingCapability | "NoLicense" | "LabelingDisabled" | "LabelingPolicyNotFound" | "LabelingEnabled" | "AttributeBasedAccessControlEnabled"

Remarks

API set: ExcelApi BETA (PREVIEW ONLY)