Skip to main content

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.