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

ResolveAccountEventArgs.AccountName Property

Gets the name of the account for which the account should be dynamically created.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public string AccountName { get; }

Property Value

Type Description
String

A string value that specifies the account name.

Remarks

Use the ResolveAccountEventArgs.Account property to specify an account for the account name specified by the AccountName property.

Example

The following example illustrates how to use the AccountManager.ResolveAccount event.

void Application_Start(object sender, EventArgs e) {
    AccountManager.ResolveAccount += AccountManager_ResolveAccount;
}
void AccountManager_ResolveAccount(object sender, ResolveAccountEventArgs e) {
    if(e.AccountName == "DropboxAccount#1")
        e.Account = new DropboxAccount(e.AccountName, "SecretAccessTokenValue#1");
}
See Also