在 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 和 Grant-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」 at 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 指派給目前已指派原則 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

  • 下列命令 unassigns 先前指派給 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
    

如需詳細資訊,請參閱 Grant-CsMobilityPolicyFor details, see Grant-CsMobilityPolicy.

另請參閱See Also

在 Lync Server 2013 中設定行動性原則Configuring mobility policy in Lync Server 2013