Connector Framework Server 25.4
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 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: Knowledge Discovery Connector Framework Server 25.4

Topic Title: rms_encrypt