Configuring Web Services Privileges Using the NI Web Server Configuration

Updated Dec 27, 2023

Environment

Software

  • LabVIEW

This article will guide you on the process of configuring the roles for different privileges of an Application hosted in the NI Web Server using the NI Web Server Configuration tool.

To understand the process and outcome some basic knowledge of LabVIEW Web Services and the NI Web Server Configuration tool is required. If you are not familiar with these topics review the following documentation:

When you configure a set of privileges in the Properties of a Web Service in LabVIEW and then run the Web Service in the NI Web Server you will notice how the application and the privileges are displayed in the Application Section of the NI Web Server Configuration tool:
image.png

The Roles for the different Privileges can be changed from there, there are 3 different ways of configuring the roles:

Configure a role for all the web service privileges of all web services

1. Mark the Select All Privileges checkbox
image.png
2. On any of the marked privileges click on the pen button and then select the new role you wish to set in all the privileges. See how all the Roles on all the privileges are changed. Click Apply to save the changes.

image.png
 

Configure a role for specific web service privilege(s) of web service(s)

1.Select the checkboxes for the privileges you would like to change the role, the privileges could be of one or multiple web services.
image.png
2. On any of the marked privileges click on the pen button and then select the new role you wish to set in all the privileges. See how the Role of the specific marked privileges is changed. Click Apply to save the changes.
image.png

Configure a generic role for all web service privileges of a specific web service

1. Use the dropdown menu to configure all the roles for all the privileges of a specific web server application. Select either everyone or admin generic role, or set the roles to default as preferred. 
image.png
2. Once you select the option you will notice how all the privileges roles change accordingly. Click Apply to save the changes.
image.png