All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.

AuthenticationOptions Class

Contains credentials used to identify editable ranges in a protected document.

Declaration

export class AuthenticationOptions

Remarks

richEdit.authenticationOptions.userName="senior@somecompany.com";

Run Demo: Document Protection

Properties

group Property

Specifies the name of the group of users with editing permission.

Declaration

group: string

Property Value

Type Description
string

The user group name.

Remarks

The Rich Text Editor compares the group property value with the group property of each RangePermission object in a document. If the values are equal or the group value is Everyone, the corresponding document range can be edited.

userName Property

Specifies a username with editing permission.

Declaration

userName: string

Property Value

Type Description
string

The user name.

Remarks

The Rich Text Editor compares the userName property value with the userName property of each RangePermission object in a document. If the values are equal, the corresponding document range can be edited.