隱藏目錄

Controlled Tab Example 2 - Managing Access to a Control

This example describes how to manage access to a control, based on the group membership of the logged in user.

To manage access to a control based on the logged-in user:

  1. Create a data card and link it to the extension .doc or .docx.
  2. Add a tab control.
  3. In the Tab properties pane:
    1. Select Controlled by variable and select the variable <Name of group>.

      The group membership of the logged in user will control which tab is visible.

    2. Leave the first tab name empty and type the name of an existing user group such as Project Leaders as the name of the second tab.
  4. Add a check box control to the first tab.
  5. In the Checkbox properties pane:
    1. Under Caption, type Approved.
    2. Under Value, for Variable name, select Approved.
    3. Under Flags, select Read-only.
  6. Copy the check box control and paste it onto the second tab.
  7. In the Checkbox properties pane, under Flags, clear Read-only.
  8. Save the data card to a folder in the vault.
  9. To test the card, log in as a user who is not in the Project Leaders group.
  10. Select a .doc or .docx file in the folder where you saved the card.

    On the Data Card tab, the check box is visible, but cannot be edited.

  11. Log in as a user in the Project Leaders group and select the same .doc or .docx file.

    On the Data Card tab, you can check or clear the check box.



提供對此主題的意見反應

SOLIDWORKS 歡迎您提供有關於文件呈現方式、正確性、及完整性的意見反應。請使用下方的表格直接將您對此主題的意見與建議傳送給我們的文件團隊。文件團隊並無法回答關於技術支援的問題。按一下此處來獲得關於技術支援的資訊

* 必要的

 
*電子郵件:  
主旨:   說明主題的意見反應
頁面:   Controlled Tab Example 2 - Managing Access to a Control
*意見:  
*   我承認已閱讀且僅此接受隱私權政策,Dassault Systèmes 將遵循此政策之規定使用我的個人資料

列印主題

選擇要列印的內容範圍:

x

偵測到您使用的瀏覽器版本是舊於 Internet Explorer 7。要獲得最佳的顯示,建議您升級瀏覽器到 Internet Explorer 7 或更新的版本。

 不要再次顯示此訊息
x

Web 式說明內容版本:SOLIDWORKS PDM 2013 SP05

要從 SOLIDWORKS 中停用 Web 式的說明並改用本機說明,請按一下說明 > 使用 SOLIDWORKS Web 式說明

要報告在 Web 式說明介面及搜尋中遇到的問題,請聯絡您當地的技術支援代表。要針對個別說明主題提供意見反應,請使用個別主題頁面中的「提供對此主題的意見反應」連結。