Connector Framework Server 26.3
Connector Framework Server Help

# rms_encrypt

The `rms_encrypt` function encrypts files using Microsoft Azure Rights Management (RMS) encryption.

## Syntax

    rms_encrypt( doc, sectionName )

## Arguments

Argument | Description
--- | ---
`doc` | (LuaDocument) The document that represents the file to encrypt.
`sectionName` | (string) The name of a section in the CFS configuration file that contains configuration parameters for RMS encryption. For information about the parameters that you can use to configure this task, see RMS Task Parameters.

## Returns

Boolean. Returns `true` if encryption is successful.

Copyright 2026 Open Text
Version 26.3 | Last updated July 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: Knowledge Discovery Connector Framework Server 26.3

Topic Title: rms_encrypt