National Instruments BridgeVIEW 用户手册

下载
页码 455
Chapter 7
Advanced Application Topics
© National Instruments Corporation
7-17
information about this or any other VI, refer to Appendix A, 
.
How Do You Programmatically Log 
an Operator In to Your Application?
Use the Programmatic Login VI in the System»Security palette. To use 
this VI, you must enter a user name and password. If successful, the user is 
logged in to the system, and no Login dialog box appears.
How Do You Programmatically Log 
an Operator Out of Your Application?
Use the Programmatic Logout VI in the System»Security palette. This VI 
logs the current user out of the BridgeVIEW system.
How Do You Identify the Current Operator?
Use the Get Operator Name VI in the System»Security palette. This VI 
returns the name and current BridgeVIEW operator name and access level. 
For more information about this or any other VI, refer to Appendix A,
.
How Do You Restrict Access 
to the BridgeVIEW Environment?
When you install BridgeVIEW, no user accounts exist, so all users have full 
access to the system. You must create user accounts for the normal security 
features to take effect. When you create user accounts, you assign an access 
level to each account. 
When a user logs in, BridgeVIEW obtains the user’s privileges and access 
level. Your HMI VIs also can enforce security by determining whether the 
current user can operate, or even see, a particular control or indicator. 
See the section 
 in this chapter for more 
information about using security in your HMI.
How Do You Create and Modify User Accounts?
To create and modify user accounts, you must have the Create/Edit User 
Accounts privilege. To change a user’s privileges, you also must have the 
Configure User Privileges privilege. To edit the list of user accounts,