Back to Devexpress

AuthenticationOptions.UserName Property

officefileapi-devexpress-dot-xtrarichedit-dot-authenticationoptions-326404ce.md

latest1.9 KB
Original Source

AuthenticationOptions.UserName Property

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

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

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

Property Value

TypeDefaultDescription
StringString.Empty

A string containing a user name.

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

RangePermission

BeginUpdateRangePermissions()

AuthenticationOptions Class

AuthenticationOptions Members

DevExpress.XtraRichEdit Namespace