User ID Settings (Magic xpa 3.x)
The User ID repository includes the following columns:
|
|
User ID
|
An alphanumeric string that will be compared at Logon time to the string the user types in the User ID column of the Logon dialog box. If the Input Password setting in the Environment dialog box is set to No, the Logon window will not be automatically displayed. The User ID setting can be queried in programs by the User (0) function.
The User ID can contain up to 127 alphanumeric characters.
|
Name
|
The name of the user. This column is not checked during the logon procedure. It identifies the user to the supervisor, and it can be queried in programs by the User (1) function.
|
Password
|
The Password to match the User ID. Any alphanumeric input is allowed. The User ID-Password pair must be defined in the User ID repository. The Logon dialog box will display the User ID-Password prompt if the Input Password setting is set to Yes in the Environment dialog box.
The User ID-Password check is case-insensitive. If the User ID-Password prompt is displayed, the Logon dialog box will remain open until they are supplied.
Pressing F5 will bring up the Password box where you can enter a new password.
|
Rights
|
Displays a count of the individual rights keys allocated to the user and provides a zoom point to the User's Rights repository. Because a Rights key can correspond to more than one right, the count shown may be less than the user's total number of individual rights.
The supervisor can zoom from the Rights column to the user's Rights of repository to select additional rights for assignment to the user at anytime during development and runtime.
A given user need not have any individual rights.
|
Groups
|
The Groups column displays a count of groups to which the user belongs. To define membership in a group, the supervisor zooms from the Groups column into the Groups repository to select a group for the user. A user can belong to more than one group. For more information, see Groups.
|
The User ID repository can store 9,999 user passwords and group associations.
The supervisor, who has exclusive access to the User ID repository, can edit the repository by selecting Options/Settings/User IDs. The supervisor can add or delete User IDs anytime, during development or runtime.
The supervisor can select Edit > Properties (Alt+Enter) and enter additional free text about the user in the User Properties box.
The user supervisor, however, cannot see the passwords of all users. Passwords are displayed as a string of asterisks if not empty. The user supervisor can alter passwords of users, but cannot see existing passwords. To change a password, it is necessary to zoom into a password box, and to enter the password twice. The password is not displayed while it is being entered. A non-supervisor user can now enter the User ID repository and modify his or her own password. Changing a password is the only change to the User ID repository allowed to a non-supervisor user.
When the end user logs on, Magic xpa compares the User ID and the Password strings of the Logon screen with those of the User ID repository. Even though a given user has a unique User ID and Password at the environment level, each project can apply a different security scheme to that user. Provided there is at least one entry in the User ID repository, whenever a user tries to access data or programs, Magic xpa performs the security check. If the user does not have the appropriate rights, the attempted activity is denied. A message to that effect is displayed on the message line.
The Rights repository controls access to the end user during runtime. For finer control of runtime security within programs, you can use the Rights and User functions.
Note:
|
Magic xpa provides the MGUSRDMP utility, which retrieves the users of a security file.
|
How Do I Implement Roles?