File Content Extraction 26.1
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 26.1 | Last updated January 2026

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 26.1

Topic Title: get_restrictions