Sensitivity labels (IRPCSensitivityLabels)
Reads the Microsoft Purview sensitivity labels of files.
| gRPC service | MFiles.IRPCSensitivityLabels |
|---|---|
| Book and level | Vault API, standard |
| Methods | 1 |
| Proto file | mfiles/IRPCSensitivityLabels.proto |
Overview
Reads the Microsoft Purview sensitivity labels of a file, for showing them next to the file in a user interface. The labels come from the Microsoft SharePoint Embedded storage where the vault keeps the file; vaults that do not store files there have no labels.
The call is advisory: it never fails because labels are unavailable. Whenever the server cannot
produce labels, it returns an empty label_info. Do not use it as a security check.
Methods
| Method | Summary | Facts |
|---|---|---|
| GetSensitivityLabels | Gets the sensitivity labels of one file, or an empty list when no labels are available. | read session idempotent |