| title | class ApplicationActionState |
|---|---|
| description | Documents the applicationactionstate::undefined class of the Microsoft Information Protection (MIP) SDK. |
| author | msmbaldwin |
| ms.service | information-protection |
| ms.topic | reference |
| ms.author | mbaldwin |
| ms.date | 11/07/2023 |
| Members | Descriptions |
|---|---|
| public LabelState GetNewLabelState() const | Gets the new label state. |
| public std::shared_ptr<Label> GetNewLabel() const | Gets the sensitivity label ID that should be applied on the document. |
| public std::pair<bool, std::string> IsDowngradeJustified() const | Implementation should pass if justification to downgrade an existing label was given. |
| public AssignmentMethod GetNewLabelAssignmentMethod() const | Get the new label's assignment method. |
| public virtual std::vector<std::pair<std::string, std::string>> GetNewLabelExtendedProperties() const | Return new label's extended properties. |
| public ActionType GetSupportedActions() const | Gets a masked enum describing all the supported action types. |
| public bool IsRecommendationEnabled() const | Get a bool that signifying recommend action will return. by default should be true unless user specifies else. |
| public virtual int GetContentTimeZoneUtcOffset() const | Return the content's time zone as an offset from UTC, in seconds, or kTimeZoneOffsetLocalTime to use the machine's local time. |
Gets the new label state.
Returns: The new label state.
See also: mip::LabelState
Gets the sensitivity label ID that should be applied on the document.
Returns: Sensitivity label ID to be applied to the content if exists else empty to remove label.
Implementation should pass if justification to downgrade an existing label was given.
Returns: True if downgrade is justifiedalong with the justification messageelse false
See also: mip::JustifyAction
Get the new label's assignment method.
Returns: The assignment method STANDARD, PRIVILEGED, AUTO.
See also: mip::AssignmentMethod
Return new label's extended properties.
Returns: The extended properties applied to the content.
Gets a masked enum describing all the supported action types.
Returns: A masked enum describing all the supported action types. ActionType::Justify must be supported. When a policy and label change requires justification, a justification action will always be returned.
Get a bool that signifying recommend action will return. by default should be true unless user specifies else.
Returns: A bool that signifying recommend action will return. ActionType::RecommendLabel must be enable for this field to have an affect.
Return the content's time zone as an offset from UTC, in seconds, or kTimeZoneOffsetLocalTime to use the machine's local time.
Returns: The content's time zone as an offset from UTC, in seconds, or kTimeZoneOffsetLocalTime to use the machine's local time.