Add a user role

Microsoft Office InfoPath 2003

Show All Show All

Add a user role

As part of the form design process, you can specify user roles, or specific categories of users. For example, in a human resources department, you can specify different user roles for recruiters, managers, and human resource specialists.

Security   User roles allow you to present alternative views or behavior to different sets of users. They should not be used to restrict access to sensitive data in a form. Even if you make a form read-only or hide certain controls based on user roles, users can potentially use a text editing program such as Microsoft Notepad to view or modify the form (.xml) file.

  1. On the Tools menu, click User Roles.
  2. In the Manage User Roles dialog box, click Add.
  3. In the Add User Role dialog box, type a name in the Role name box.
  4. To assign users or groups of users to the role, do one or more of the following:

    ShowSpecify one or more users who are part of a network

    ShowSpecify one or more groups that are part of a network

    ShowSpecify user names that come directly from the form

  5. To set the user role as the initiator role, which is the role that is used whenever a new blank form is opened for the first time, select the Set as initiator check box.

    Note  When a user role is specified as the initiator, it takes precedence over all other role assignments.

  6. If you customized a control's behavior based on user role, or if you're using rules to switch views based on user role, you can make sure that everything works by testing your form.

    ShowHow?

Notes

  • To specify a default user role for users who aren't assigned to any other role, select the role in the Manage User Roles dialog box, and then click Set as Default.
  • If you assigned groups of users to a user role, users belonging to that group must be online for the user role assignment to take effect. If a user is working offline, InfoPath uses the default user role to open the form.
  • The information in this topic may not apply if you are working with a form designed using Microsoft Office InfoPath 2003 without the service pack installed. Learn more