0 votes

Hello,

I am working on delegating the ability to create user accounts. One thing I'm not sure how to handle is duplicate user names.

I would like it if I could have an alternate User Property pattern if the username is not unique. For example, if I have two Bob Smiths I'd like one to be BobSmith and the second one to be added to be Bob.Smith. Is there a way to set this up in a Property Pattern or a business rule? If it worked for both the web console and CSV imports using the Adaxes cmdlets it would be very helpful.

Currently if we have a duplicate name the user creation gets passed off to me to create manually so I'd love to be able to automate it!

by (810 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

Yes, you can automate that. For this purpose, you can create a Business Rule triggered before creating a user that would change the username if it is not unique. For instructions on how to create such a Business Rule, see Validate/Modify User Input Using a Script. On step 5, see Example 2. It demonstrates how to add a digit to the end of a username if it is not unique. If adding a digit is not enough, have a look at the following example in our Script Repository that provides a more flexible algorithm to generate a unique username: Create username automatically.

Related questions

0 votes
0 answers

Hello! We have a business rule in place that will request approval from a group's owner before adding an account to that group for certain groups. We also have a custom ... name reference is invalid. Do you have any ideas for how to get around this error?

asked Jan 24, 2022 by KelseaIT (320 points)
0 votes
1 answer

For a custom command, I need to perform some actions, then reboot a computer, then perform some more. How can we handle the reboot so the actions continue once the computer is back up and ready? Thanks

asked May 17, 2022 by jcrook (100 points)
0 votes
1 answer

I have a Web Interface for our Voice and Data group. With this interface they manage and create VPN users. They've asked for a report that they need to import into ... the regular employee users which are part of the report are for view and export only?

asked Jul 26, 2018 by rurbaniak (1.5k points)
0 votes
1 answer

I belive we may have opened a ticket for this question in the past but I can't find the answer. We have a need to delay changing user attributes until their ... title, and department until the scheduled date. Any help would be much much appreciated. Thanks!

asked Jan 13, 2022 by trwhalen (70 points)
0 votes
1 answer

I connected my local AD domain as well as my Entra domain in Adaxes, however I am now seeing duplicate user accounts, one under our local AD and the other from ... Connect, and it's confusing determining which user is in which location when making updates.

asked Sep 4 by aswint (50 points)
3,571 questions
3,261 answers
8,275 comments
547,989 users