在 Lync Server 2013 中分配每用户移动策略Assign a per-user mobility policy in Lync Server 2013

 

移动策略是您可以在 Lync Server 控制面板或 Lync Server 命令行管理程序中配置的用户帐户的个人设置之一。The mobility policy is one of the individual settings of a user account that you can configure in Lync Server Control Panel or Lync Server Management Shell.

使用 Lync Server 控制面板分配每用户移动策略To assign a per-user mobility policy with Lync Server Control Panel

  1. 使用分配给 CsUserAdministrator 角色或 CsAdministrator 角色的用户帐户登录到内部部署中的任何计算机。From a user account that is assigned to the CsUserAdministrator role or the CsAdministrator role, log on to any computer in your internal deployment.

  2. 打开浏览器窗口,然后输入管理员 URL 以打开 "Lync Server 控制面板"。Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. 有关可用于启动 Lync Server 控制面板的不同方法的详细信息,请参阅 Open Lync server 2013 "管理工具"。For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server 2013 administrative tools.

  3. 在左侧导航栏中,单击“用户”****。In the left navigation bar, click Users.

  4. 使用下列方法之一查找用户:Use one of the following methods to locate a user:

    • 在“搜索用户”**** 框中,键入用户帐户的显示名称、名字、姓氏、安全帐户管理器 (SAM) 帐户名、SIP 地址或线路统一资源标识符 (URI) 的全部或第一部分,然后单击“查找”****。In the Search users box, type all or the first portion of the display name, first name, last name, Security Accounts Manager (SAM) account name, SIP address, or line Uniform Resource Identifier (URI) of the user account, and then click Find.

    • 如果具有保存的查询,请单击“打开查询”**** 图标,使用“打开”**** 对话框来检索该查询(.usf 文件),然后单击“查找”****。If you have a saved query, click the Open query icon, use the Open dialog box to retrieve the query (a .usf file), and then click Find.

  5. (可选)指定附加搜索条件以缩小结果的范围:(Optional) Specify additional search criteria to narrow the results:

    1. 单击“添加筛选器”****。Click Add Filter.

    2. 通过键入用户属性,或单击下拉列表中的箭头选择属性来输入用户属性。Enter the user property by typing it or by clicking the arrow in the drop-down list to select the property.

    3. 在“等于”**** 下拉列表中,单击运算符(例如“等于”**** 或“不等于”****)。In the Equal to drop-down list, click the operator (for example, Equal to or Not equal to).

    4. 根据所选的用户属性,通过键入条件或单击下拉列表中的箭头输入用于筛选搜索结果的条件。Depending on the user property you selected, enter the criteria you want to use to filter the search results by typing it or by clicking the arrow in the drop-down list.

      提示

      要向查询中添加附加搜索子句,请单击“添加筛选器”To add additional search clauses to your query, click Add Filter.

    5. 单击“查找”****。Click Find.

  6. 在搜索结果中单击某个用户,再单击“操作”****,然后单击“分配策略”****。Click a user in the search results, click Action, and then click Assign policies.

    提示

    如果要将相同的每用户移动策略应用于多个用户,请在搜索结果中选择 "多个用户",然后单击 " 操作",然后单击 " 分配策略"。If you want the same per-user mobility policy to apply to multiple users, select multiple users in the search results, then click Actions, and then click Assign policies.

  7. 在 " 分配策略" 中的 " 移动策略" 下,执行下列操作之一:In Assign Policies, under Mobility policy, do one of the following:

    备注

    由于可以在 "分配策略" 中配置多个策略,因此默认情况下将为对话框中的每个策略选择 " < > 保持为"。Because there are multiple policies that you can configure in Assign Policies, <Keep as is> is selected by default for every policy in the dialog box. 如果不对此设置进行任何更改,则将继续使用先前分配给用户的策略。Continue using the policy previously assigned to the user by making no changes to this setting.

    • 选择 <Automatic> 此项可允许 Lync Server 2013 自动选择全局级别策略或网站级别策略(如果已定义)。Select <Automatic> to allow Lync Server 2013 to automatically choose either the global-level policy or, if defined, the site-level policy.

    • 单击先前在 移动策略 页上定义的每用户移动性策略的名称。Click the name of a per-user mobility policy you previously defined on the Mobility Policy page.

      提示

      为帮助您确定要分配的策略,请在单击策略名称后单击“查看”以查看策略中定义的用户权限。To help you decide the policy you want to assign, after you click a policy name, click View to view the user rights and permissions defined in the policy.

  8. 完成后,单击“确定”****。When you are finished, click OK.

使用 Windows PowerShell Cmdlet 分配 Per-User 移动策略Assigning a Per-User Mobility Policy by Using Windows PowerShell Cmdlets

您可以使用 Windows PowerShell 和 set-csmobilitypolicy cmdlet 分配每用户移动性策略。You can assign per-user mobility policies by using Windows PowerShell and the Grant-CsMobilityPolicy cmdlet. 您可以从 Lync Server 2013 命令行管理程序或从 Windows PowerShell 的远程会话中运行此 cmdlet。You can run this cmdlet from the Lync Server 2013 Management Shell or from a remote session of Windows PowerShell. 有关使用远程 Windows PowerShell 连接到 Lync Server 的详细信息,请参阅在上的 Lync Server Windows PowerShell 博客文章 "快速入门:使用远程 PowerShell 管理 Microsoft Lync Server 2010" https://go.microsoft.com/fwlink/p/?linkId=255876For details about using remote Windows PowerShell to connect to Lync Server, see the Lync Server Windows PowerShell blog article "Quick Start: Managing Microsoft Lync Server 2010 Using Remote PowerShell" at https://go.microsoft.com/fwlink/p/?linkId=255876.

向单个用户分配每用户移动策略To assign a per-user mobility policy to a single user

  • 以下命令将每用户移动策略 RedmondMobilityPolicy 分配给用户 Ken Myer。The following command assigns the per-user mobility policy RedmondMobilityPolicy to the user Ken Myer.

    Grant-CsMobilityPolicy -Identity "Ken Myer" -PolicyName "RedmondMobilityPolicy"
    

为多个用户分配每用户移动策略To assign a per-user mobility policy to multiple users

  • 以下命令将每用户移动策略 RedmondMobilityPolicy 分配给当前分配了 policy NorthAmericaMobilityPolicy 的所有用户。The following command assigns the per-user mobility policy RedmondMobilityPolicy to all the users who are currently assigned the policy NorthAmericaMobilityPolicy. 有关此命令中使用的 Filter 参数的详细信息,请参阅 get-csuserFor details about the Filter parameter used in this command, see Get-CsUser.

    Get-CsUser -Filter {MobilityPolicy -eq "NorthAmericaMobilityPolicy"} | Grant-CsMobilityPolicy -PolicyName "RedmondMobilityPolicy"
    

取消分配每用户移动策略To unassign a per-user mobility policy

  • 以下命令取消分配之前分配给 Ken Myer 的任何每用户移动性策略。The following command unassigns any per-user mobility policy previously assigned to Ken Myer. 取消分配每用户策略后,将使用全局策略或其本地站点策略(如果存在)自动管理 Ken Myer。After the per-user policy is unassigned, Ken Myer will automatically be managed by using the global policy or, if one exists, his local site policy. 站点策略优先于全局策略。A site policy takes precedence over the global policy.

    Grant-CsMobilityPolicy -Identity "Ken Myer" -PolicyName $Null
    

有关详细信息,请参阅 set-csmobilitypolicyFor details, see Grant-CsMobilityPolicy.

另请参阅See Also

在 Lync Server 2013 中配置移动策略Configuring mobility policy in Lync Server 2013