AuthenticationOptions Class
Contains credentials used to identify editable ranges in a protected document.
Declaration
export class AuthenticationOptions
Remarks
richEdit.authenticationOptions.userName="senior@somecompany.com";
Properties
group Property
Specifies the name of the group of users with editing permission.
Declaration
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
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.