User privileges can be specified using a Station File. In previous versions of the product, the equivalent file has been referred to as the LINCIINET file. This file should be placed in the application private folder, the path of which is stored in the registry under the key HKEY_LOCAL_MACHINE\SOFTWARE\Unisys\AB Suite 7.0\SM Runtime\PrivateFolder. By default, this is C:\AB Suite 7.0\Data\private.
When a user signs on to a System, the Station Info file is opened for the System and entries corresponding to the current user account are read. These entries are moved into global attributes that can be accessed by the logic of the System, as follows:
The username is stored in Glb.User
The user s access privilege level is stored in Glb.Priv (1 through 15)
The user s associated printer is stored in Glb.ASCPrt
Every presentation ispec in the model has a configurable privilege level property. This property should be set for each ispec before generating the system.
Note: For all existing 3.3 models, ispec privilege levels need to be configured after importing into Agile Business Suite. Every time ispec privilege levels are changed the system should be regenerated.
Once the system is generated, user privilege levels is read from the Station Info files and the COM+ roles as defined in the Administration Tool. The Station Info values overrides the COM+ roles. If the user s privilege level as specified in the Station Info file or in the COM+ roles is lower than that specified by the presentation ispec, the user gets an insufficient privilege level error.
If no entry is found for a user account (or the Station Info file is not found), Glb.Priv defaults to 1 for users in the Users COM+ role, or 15 if the user is an Administrator. Glb.ASCPrt is set to Glb.Spaces
The various interfaces to and from Systems (NOF, GLI and USER, for example) use the value of Glb.Priv of the originating user account.
Specific logic can also be restricted to certain users by checking Glb.Priv:
DW Glb.Priv > 12 :some code End