Hide Table of Contents

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.



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Controlled Tab Example 2 - Managing Access to a Control
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS PDM 2013 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.