We would like to add the user employee number in the profile. The accounting code is currently used for the cost center and we do not want to add it in the description field.
Software/Hardware used:
AS400 520 - V5r4
ASKED:
January 26, 2010 8:35 PM
UPDATED:
January 28, 2010 8:33 PM
The uid attribute of a user profile should not (and in many cases, can not) be used for anything but a uid value. Technically, the assigned uid should be coordinated across all systems in the network that use uids — Linux, Unix, iSeries, and perhaps others. It might be noticed by iSeries users most often on NFS connections. The value should not be changed so that a uid on, for example, a connected Linux system matches an unrelated profile on the iSeries — in the eyes of Linux, a matching uid indicates a matching user.
IBM sets many IBM profiles to have specific uids. That in itself could conflict with a secondary scheme to match uid with employee number (not to mention confusing the system on how to assign authority).
The problem with the question is that it asks how to assign an attribute that doesn’t belong in a user profile to a user profile. Further, the two attributes that might make sense — accounting code and description — have been eliminated.
The reasonable direction is not to put “employee number” into user profiles at all. (It doesn’t belong there.) Instead, a table should be created with at least two columns — user profile and employee number. Associate the profile name with employee number through the table.
In a sense, such a table already exists. It is available through the System Directory functions.
Tom