Skip to main content

IUserListService Interface

Provides a list of identities to fill the Editing Permissions form.

Namespace: DevExpress.XtraRichEdit.Services

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

[ComVisible(true)]
public interface IUserListService

Remarks

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 IUserListService interface in your application.

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

richEditControl1.ReplaceService<IUserListService>(new MyUserListService(myUserList));
See Also