Lync decoupled from exchange
This commit is contained in:
parent
e09496e4d3
commit
cf427c984d
5 changed files with 14 additions and 41 deletions
|
@ -324,6 +324,7 @@ namespace WebsitePanel.EnterpriseServer
|
||||||
public const int ERROR_USERS_RESOURCE_QUOTA_LIMIT = -2707;
|
public const int ERROR_USERS_RESOURCE_QUOTA_LIMIT = -2707;
|
||||||
public const int CURRENT_USER_IS_CRM_USER = -2708;
|
public const int CURRENT_USER_IS_CRM_USER = -2708;
|
||||||
public const int CURRENT_USER_IS_OCS_USER = -2709;
|
public const int CURRENT_USER_IS_OCS_USER = -2709;
|
||||||
|
public const int CURRENT_USER_IS_LYNC_USER = -2710;
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
|
@ -1500,8 +1500,15 @@ namespace WebsitePanel.EnterpriseServer
|
||||||
|
|
||||||
if (DataProvider.CheckOCSUserExists(accountId))
|
if (DataProvider.CheckOCSUserExists(accountId))
|
||||||
{
|
{
|
||||||
return BusinessErrorCodes.CURRENT_USER_IS_OCS_USER; ;
|
return BusinessErrorCodes.CURRENT_USER_IS_OCS_USER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (DataProvider.CheckLyncUserExists(accountId))
|
||||||
|
{
|
||||||
|
return BusinessErrorCodes.CURRENT_USER_IS_LYNC_USER;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// load organization
|
// load organization
|
||||||
Organization org = GetOrganization(itemId);
|
Organization org = GetOrganization(itemId);
|
||||||
if (org == null)
|
if (org == null)
|
||||||
|
|
|
@ -3176,6 +3176,9 @@
|
||||||
<data name="Warning.2709" xml:space="preserve">
|
<data name="Warning.2709" xml:space="preserve">
|
||||||
<value>Cannot delete user account as it is used in OCS.</value>
|
<value>Cannot delete user account as it is used in OCS.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Warning.2710" xml:space="preserve">
|
||||||
|
<value>Cannot delete user account as it is used in Lync.</value>
|
||||||
|
</data>
|
||||||
<data name="Quota.DNS.PrimaryZones" xml:space="preserve">
|
<data name="Quota.DNS.PrimaryZones" xml:space="preserve">
|
||||||
<value>B2B Primary Zones Allowed</value>
|
<value>B2B Primary Zones Allowed</value>
|
||||||
</data>
|
</data>
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td class="FormLabel150"><asp:Localize ID="Localize1" runat="server" meta:resourcekey="locDisplayName" Text="Display Name: *"></asp:Localize></td>
|
<td class="FormLabel150"><asp:Localize ID="Localize1" runat="server" meta:resourcekey="locDisplayName" Text="Display Name: *"></asp:Localize></td>
|
||||||
<td>
|
<td>
|
||||||
<wsp:UserSelector ID="userSelector" runat="server" IncludeMailboxesOnly="true" IncludeMailboxes="true" ExcludeOCSUsers="true" ExcludeLyncUsers="true"/>
|
<wsp:UserSelector ID="userSelector" runat="server" IncludeMailboxesOnly="false" IncludeMailboxes="true" ExcludeOCSUsers="true" ExcludeLyncUsers="true"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
|
@ -1,33 +1,4 @@
|
||||||
// Copyright (c) 2012, Outercurve Foundation.
|
//------------------------------------------------------------------------------
|
||||||
// All rights reserved.
|
|
||||||
//
|
|
||||||
// Redistribution and use in source and binary forms, with or without modification,
|
|
||||||
// are permitted provided that the following conditions are met:
|
|
||||||
//
|
|
||||||
// - Redistributions of source code must retain the above copyright notice, this
|
|
||||||
// list of conditions and the following disclaimer.
|
|
||||||
//
|
|
||||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
// this list of conditions and the following disclaimer in the documentation
|
|
||||||
// and/or other materials provided with the distribution.
|
|
||||||
//
|
|
||||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
|
||||||
// contributors may be used to endorse or promote products derived from this
|
|
||||||
// software without specific prior written permission.
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
||||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
||||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
|
||||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
||||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
||||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
||||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
//
|
//
|
||||||
|
@ -148,14 +119,5 @@ namespace WebsitePanel.Portal.Lync {
|
||||||
/// To modify move field declaration from designer file to code-behind file.
|
/// To modify move field declaration from designer file to code-behind file.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.WebControls.Button btnCreate;
|
protected global::System.Web.UI.WebControls.Button btnCreate;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// FormComments control.
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// Auto-generated field.
|
|
||||||
/// To modify move field declaration from designer file to code-behind file.
|
|
||||||
/// </remarks>
|
|
||||||
protected global::System.Web.UI.WebControls.Localize FormComments;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue