Hi,
I was wondering if there was a way to generate a random number between 0001 and 9999 to use in a custom naming format and assign it to the EmployeeNumber attribute? If someone already has the EmployeeNumber attribute set with this number, add 1 and re-check.
We would like to use the last 4 characters of the user's last name + a 4 digit random number when creating the logon name. For example, John Smith could be "smit1234". His employee number would be "1234". If someone else already has 1234 for their employee number, then add 1. The employee number would then be 1235 and logon name would be "smit1235".
Thanks.