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

UploadControlSharePointSettings.AccountName Property

Gets or sets a value that specifies the name of the SharePoint account.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
String String.Empty

The name of the SharePoint account.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AccountName
ASP.NET Controls and MVC Extensions ASPxHtmlEditorUploadControl
.SharePointSettings .AccountName
ASPxUploadControl
.SharePointSettings .AccountName
ASP.NET Bootstrap Controls BootstrapUploadControl
.SharePointSettings .AccountName
ASP.NET MVC Extensions UploadControlBinderSettings
.SharePointSettings .AccountName
MVCxUploadControl
.SharePointSettings .AccountName
UploadControlSettings
.SharePointSettings .AccountName

Remarks

<dx:ASPxUploadControl ID="UploadControl" >
    <SharePointSettings 
        AccountName="UploadOneDriveAccount" 
        TokenEndpoint="https://login.microsoftonline.com/46ec2686-1c80-4e0a-81de-57aec8e4672f/oauth2/token" 
        RedirectUri="http://localhost"
        SiteName="ASPNETDemo" 
        SiteHostName="aspnetteam.sharepoint.com" 
        UploadFolder="UploadedFiles" />
    //...
</dx:ASPxUploadControl>

Online Demo

See Also