Users table (PIUSER)
- Last UpdatedJun 29, 2023
- 1 minute read
- PI System
- PI Server
With Data Archive 3.4.380 and later, data from the PI user and PI group tables is moved to the PI identity table. However, the PI user table is preserved for backward compatibility; it provides a list of PI users, as they existed in previous releases.
With Data Archive 3.4.380, we recommend that you use the PI identity table to create and access all PI identities. However, the PI User table continues to function as it did in previous releases and can be used to view and update PI Users. The PI User Table must still be used to edit group memberships.
For details about how to use PI Identities of type PI User, see Data Archive Security.
This table defines PI users and records their assignment to groups. The primary key is User.
|
PIUSER Attributes |
Description |
|
User |
User name |
|
Description |
User description |
|
Groups |
List of groups to which the user belongs |
|
Context |
Reserved for future use |
|
NEWUser |
Used to rename an existing user |
The description attribute is used to specify any type of user information, such as address or title. The user may be added to multiple groups.
Users are assigned to groups using the PIUSER table. Attempting to change the group membership of users via the PIGROUP table has no effect.
This example adds a user called testuser1 to the groups piadmins and piusers:
@table piuser
@mode create
@istr user, description, groups, ...
testuser1, Test User 1, piadmins, piusers
@ends
@exit