Back to Devexpress

AuthenticationOptions Class

aspnetcore-js-devexpress-dot-richedit-c821aab3.md

latest1.8 KB
Original Source

AuthenticationOptions Class

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

Declaration

ts
export class AuthenticationOptions

Remarks

javascript
richEdit.authenticationOptions.userName="[email protected]";

Run Demo: Document Protection

Properties

group Property

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

Declaration

ts
get group(): string
set group(value: string)

Property Value

TypeDescription
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

ts
get userName(): string
set userName(value: string)

Property Value

TypeDescription
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.