owa editing groups added
This commit is contained in:
parent
6dc1d0c259
commit
839f6cda2b
3 changed files with 5 additions and 4 deletions
|
@ -127,7 +127,7 @@
|
|||
<value>Office Web App Editing</value>
|
||||
</data>
|
||||
<data name="locOwaEditingSection.Text" xml:space="preserve">
|
||||
<value>Users</value>
|
||||
<value>Users And Groups</value>
|
||||
</data>
|
||||
<data name="locTitle.Text" xml:space="preserve">
|
||||
<value>Edit Folder</value>
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<tr>
|
||||
<td colspan="2">
|
||||
<fieldset id="OwaUsersPanel" runat="server">
|
||||
<legend><asp:Localize ID="locOwaEditingSection" runat="server" meta:resourcekey="locOwaEditingSection" Text="Users"></asp:Localize></legend>
|
||||
<legend><asp:Localize ID="locOwaEditingSection" runat="server" meta:resourcekey="locOwaEditingSection" Text="Users And Groups"></asp:Localize></legend>
|
||||
<wsp:OwaUsers id="owaUsers" runat="server" />
|
||||
</fieldset>
|
||||
</tr>
|
||||
|
|
|
@ -94,7 +94,8 @@ namespace WebsitePanel.Portal.ExchangeServer.UserControls
|
|||
|
||||
protected void BindPopupAccounts()
|
||||
{
|
||||
OrganizationUser[] accounts = ES.Services.Organizations.GetOrganizationUsersPaged(PanelRequest.ItemID, ddlSearchColumn.SelectedValue, txtSearchValue.Text + "%", null, 0, Int32.MaxValue).PageUsers;
|
||||
ExchangeAccount[] accounts = ES.Services.EnterpriseStorage.SearchESAccounts(PanelRequest.ItemID,
|
||||
ddlSearchColumn.SelectedValue, txtSearchValue.Text + "%", "");
|
||||
|
||||
accounts = accounts.Where(x => !GetUsers().Select(p => p.AccountName).Contains(x.AccountName)).ToArray();
|
||||
|
||||
|
@ -206,7 +207,7 @@ namespace WebsitePanel.Portal.ExchangeServer.UserControls
|
|||
set { ViewState[DirectionString] = value; }
|
||||
}
|
||||
|
||||
protected static int CompareAccount(OrganizationUser user1, OrganizationUser user2)
|
||||
protected static int CompareAccount(ExchangeAccount user1, ExchangeAccount user2)
|
||||
{
|
||||
return string.Compare(user1.DisplayName, user2.DisplayName);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue