.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

AuthenticationOptions.UserName Property

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

Namespace: DevExpress.XtraRichEdit

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

Declaration

[DefaultValue("")]
public virtual string UserName { get; set; }
<DefaultValue("")>
Public Overridable Property UserName As String

Property Value

Type Description
String

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
.Authentication.UserName
RichEditControlOptions
.Authentication.UserName
WPF Controls RichEditControlOptions
.Authentication.UserName
ASP.NET Controls and MVC Extensions ASPxRichEditSettings
.Authentication.UserName
Office File API RichEditControlOptionsBase
.Authentication.UserName

Remarks

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

See Also