Skip to main content
A newer version of this page is available. .

AuthenticationOptions.UserName Property

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

Namespace: DevExpress.XtraRichEdit

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

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:

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

Remarks

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.

Note

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