Abstraction for a Microsoft Information Protection label that is applied to a piece of content, typically a document.
More...
#include <src/api/mip/upe/content_label.h>
Abstraction for a Microsoft Information Protection label that is applied to a piece of content, typically a document.
- Note
- It also holds properties for a specific applied label instance.
Definition at line 50 of file content_label.h.
◆ GetAssignmentMethod()
Get the assignment method of the label.
- Returns
- AssignmentMethod STANDARD | PRIVILEGED | AUTO.
- See also
- mip::AssignmentMethod
◆ GetCreationTime()
virtual std::chrono::time_point< std::chrono::system_clock > ContentLabel::GetCreationTime |
( |
| ) |
const |
|
pure virtual |
Get the creation time of the label.
- Returns
- Creation time.
◆ GetExtendedProperties()
virtual const std::vector< MetadataEntry > & ContentLabel::GetExtendedProperties |
( |
| ) |
const |
|
pure virtual |
Gets extended properties.
- Returns
- Extended properties.
◆ GetLabel()
virtual std::shared_ptr< Label > ContentLabel::GetLabel |
( |
| ) |
const |
|
pure virtual |
Get the actual label object applied on the content.
- Returns
- the label object applied on the content.
- See also
- mip::Label
◆ IsProtectionAppliedFromLabel()
virtual bool ContentLabel::IsProtectionAppliedFromLabel |
( |
| ) |
const |
|
pure virtual |
Gets if protection was applied by the label or not.
- Returns
- true if there is template protection and it was by this label, else false.
The documentation for this class was generated from the following file: