performance enhancements to the control "MailboxSelector" and "UserSelector"
This commit is contained in:
parent
b0e0df1c12
commit
474fb3ebbe
4 changed files with 35 additions and 1 deletions
|
@ -2034,6 +2034,10 @@ namespace WebsitePanel.EnterpriseServer
|
|||
DataProvider.SearchOrganizationAccounts(SecurityContext.User.UserId, itemId,
|
||||
filterColumn, filterValue, sortColumn, includeMailboxes));
|
||||
|
||||
return Tmpaccounts;
|
||||
|
||||
// on large lists is very slow
|
||||
/*
|
||||
List<OrganizationUser> Accounts = new List<OrganizationUser>();
|
||||
|
||||
foreach (OrganizationUser user in Tmpaccounts.ToArray())
|
||||
|
@ -2042,6 +2046,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
}
|
||||
|
||||
return Accounts;
|
||||
*/
|
||||
}
|
||||
|
||||
public static int GetAccountIdByUserPrincipalName(int itemId, string userPrincipalName)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue