Connector Framework Server 12.12

# 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 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Connector Framework Server 12.12

Topic Title: rms_encrypt