diff --git a/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ExchangeServer/OrganizationUserMemberOf.ascx.cs b/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ExchangeServer/OrganizationUserMemberOf.ascx.cs index 8e4d028f4..3ab58cb8c 100644 --- a/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ExchangeServer/OrganizationUserMemberOf.ascx.cs +++ b/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ExchangeServer/OrganizationUserMemberOf.ascx.cs @@ -116,7 +116,8 @@ private void BindSettings() if (EnableSecurityGroups) { //Security Groups - ExchangeAccount[] securGroups = ES.Services.Organizations.GetUserGroups(PanelRequest.ItemID, PanelRequest.AccountID); + //ExchangeAccount[] securGroups = ES.Services.Organizations.GetUserGroups(PanelRequest.ItemID, PanelRequest.AccountID); + ExchangeAccount[] securGroups = ES.Services.Organizations.GetSecurityGroupsByMember(PanelRequest.ItemID, PanelRequest.AccountID); foreach (ExchangeAccount secGroup in securGroups) { @@ -161,7 +162,7 @@ private void SaveSettings() oldGroups.Add(secGroup); } } - + IDictionary newGroups = groups.GetFullAccounts(); foreach (ExchangeAccount oldGroup in oldGroups)