aspnetcore-js-devexpress-dot-richedit-34f814f3.md
Declares options used to search range permissions by the find(options) method.
export interface IRangePermissionSearchOptions
Specifies a group of users whose permissions are searched.
group?: string | RegExp
| Type | Description |
|---|---|
| string |
The name of the group.
| | RegExp |
A regular expression.
|
var everyoneRangePermissions = richEdit.document.rangePermissions.find({group: 'everyone'});
Specifies the document position, interval, or array of intervals in which to search for range permissions.
position?: number | IInterval | IInterval[]
| Type | Description |
|---|---|
| number |
The document position.
| | IInterval |
The text interval.
| | IInterval[] |
An array of text intervals.
|
var currentPositionRangePermissions = richEdit.document.rangePermissions.find({position: richEdit.selection.active});
Specifies the name of the user whose permissions are searched.
userName?: string | RegExp
| Type | Description |
|---|---|
| string |
The name of the user.
| | RegExp |
A regular expression.
|
var lawyerRangePermissions = richEdit.document.rangePermissions.find({userName: '[email protected]'});