Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AuthenticationOptions Class

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

#Declaration

TypeScript
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

TypeScript
get group(): string
set group(value: 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

TypeScript
get userName(): string
set userName(value: 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.