Skip to main content
.NET Framework 4.5.2+

AuthenticationOptions.UserName Property

Gets or sets a name used to authenticate a user, if document protection is enabled.

Namespace: DevExpress.XtraRichEdit

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


public virtual string UserName { get; set; }

Property Value

Type Default Description


A string containing a user name.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to UserName
WinForms Controls SnapControlOptions
WPF Controls RichEditControlOptions
Office File API RichEditControlOptionsBase
ASP.NET Web Forms Controls ASPxRichEditSettings


Information provided by the UserName property is used to allow editing of ranges with permissions in a protected document.

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


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