.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

IUserGroupListService Interface

Provides a list of user groups to fill the Editing Permissions form.

Namespace: DevExpress.XtraRichEdit.Services

Assembly: DevExpress.RichEdit.v20.2.Core.dll


public interface IUserGroupListService


The service can be used to fill the Editing Permissions Dialog at runtime. See the Range Permissions document for more information.

The code sample illustrates how to implement the IUserGroupListService interface in your application.

User name and group membership are represented by the MyUser object instance. When the MyGroupListService service is instantiated, it obtains a list of groups and stores the list in a local variable. The IUserGroupListService.GetUserGroups method provides a list of user groups upon request.

By default, the available groups should be: Everyone, Administrators, Contributors, Owners, Editors, and Current User. Groups other than Everyone have no special meaning. Use DOCX format to save documents containing user and group permissions. Note that only default group names are saved in a document in RTF format. DOC format cannot be used to retain group permissions.

richEditControl1.ReplaceService(Of IUserGroupListService)(New MyGroupListService())

The following code snippets (auto-collected from DevExpress Examples) contain references to the IUserGroupListService interface.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also