user attributes
4 TopicsNeed help generating a uidNumber using the EmployeeID Attribute
Existing Employee's all have an EmployeeID Attribute which is anywhere from 2 to 5 numbers long. I need to take a user's existing EmployeeID number and turn it into a uidNumber that is 6 characters long. Each uidNumber needs to start with "1" and then any additional digits would be "0". For example: EmployeeID 35 becomes uidNumber 100035 EmployeeID 1235 becomes uidNumber 101235 EmployeeID 12356 becomes uidNumber 112356 Running a foreach loop for each user with an EmployeeID is straight forward. But I'm lost as to how best to take the EmployeeID and convert it into a 6 digit long number for the uidNumber attribute. Any help would be greatly appreciated.Solved2.3KViews1like6Comments