File Content Extraction 25.4
XML Export SDK C Programming Guide

# KVMIPLabel

This structure defines a Microsoft Information Protection Label, which is a classification label used by Microsoft Purview to describe the sensitivity of information. For more information, see the Microsoft documentation https://learn.microsoft.com/en-us/information-protection/develop/concept-mip-metadata.

    typedef struct tag_KVMIPLabel
    {
        KVStructHeader;
        KVString* labelId;
        BOOL enabled;
        KVString* siteId;
        KVString* actionId; //optional
        KVString* method; //optional
        int64_t* setDate; //optional
        KVString* name; //optional
        int64_t* contentBits; //optional
    } KVMIPLabel;

## Member Descriptions

`KVStructHeader` | The version of the structure. See KVStructHead.
`labelId` | A pointer to a KVString structure, whose value is a GUID specifying a unique identifier for the label within an organization.
`enabled` | A boolean value indicating whether the classification represented by this set of key-value pairs is enabled for the data item.
`siteId` | A pointer to a KVString structure, whose value is a GUID specifying the Azure Active Directory Tenant.
`actionId` | A pointer to aKVString structure, whose value is a GUID that is updated each time a label is set, to allow chaining of labeling activity to the data item. This member is optional, and will be NULL if the file does not contain this field.
`method` | A pointer to a KVString structure, whose value specifies whether the label was selected manually, or was applied automatically or by default. This member is optional, and will be NULL if the file does not contain this field.
`setDate` | A pointer to an 64-bit integer, whose value specifies the timestamp the label was set, as a Windows File Time. This member is optional, and will be NULL if the file does not contain this field.
`name` | A pointer to a KVString structure, whose value is a unique name within the tenant. This member is optional, and will be NULL if the file does not contain this field.
`contentBits` | A pointer to a 64-bit integer, whose value is a bitmask that describes the types of content marking that was applied to content based on policy and client capabilities. This member is optional, and will be NULL if the file does not contain this field.

Copyright 1997-2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 25.4

Topic Title: KVMIPLabel