Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AuthenticationOptions.UserName Property

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

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

#Declaration

[DefaultValue("")]
public virtual string UserName { get; set; }

#Property Value

Type Default Description
String String.Empty

A string containing a user name.

#Property Paths

You can access this nested property as listed below:

Object Type Path to UserName
RichEditControlOptionsBase
.Authentication .UserName

#Remarks

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

See Also