File Content Extraction 25.4
Filter SDK C++ Programming Guide

# get_restrictions

Gets information about any restrictions that exist on a file. For more information about this feature, see Document Restrictions.

DEPRECATED: The `Session::get_restrictions` method is deprecated in KeyView 23.3.0 and later. OpenText recommends that you create a Document object to represent each document and use the `Document::restrictions` method instead.

This method is still available for existing implementations, but it might be incompatible with new functionality and might be removed in future.

## Syntax

    template <typename InputType>
    Restrictions get_restrictions(InputType& input)

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: get_restrictions