0 votes

Hello,
We have customized the Web Interface, so the form for user creation has only First Name and Last Name fields. Username is generated automatically. But, when a user with the same username as generated for a new user already exists, Adaxes returns an error and the creator cannot change the username to fix it. How can I avoid this problem?

by (150 points)

1 Answer

0 votes
by (216k points)

To check whether the generated username is unique and automatically modify not unique ones, you can use a PowerShell script that is automatically executed by a Business Rule before user creation.

For details, see tutorial Validate/Modify User Input Using a Script.

Related questions

0 votes
1 answer

Hey All, My company is currently working on some automation between SAP Success Factors (HR Tool) and Adaxes. We currently have it set so SAP generates a CSV export and ... worked through this before or have any idea how to accomplish this if possible? Thanks

asked May 13, 2019 by jhair (520 points)
0 votes
1 answer

Trying to generate a custom report and getting an error when trying to add the resulting values back into the report columns - The part of code causing the issue is this - ... any way to run the $Context.Items.Add method to add multiple column values at once?

asked Sep 22, 2022 by sirslimjim (480 points)
0 votes
1 answer

Let me preface by saying that I am a Lotus Notes Developer that is very new to Adaxes and am learning as I go. I've created a form in Adaxes that has several fields ... and if so, can you point me to some examples? Your help will be greatly appreciated.

asked Mar 18, 2015 by sandramnc (870 points)
0 votes
1 answer

On the Create User form, I'm trying to set some predefined fields to prepopulate the Last Name and Username fields. If I set just the Username field, it works fine ... changed to 'svc_@domain1' How do I predefine both fields, but keep the domain as @domain2?

asked Nov 8 by jmatthews (190 points)
0 votes
1 answer

How I can ignore a part of the lastname in username composition? Example: In the fullname "John da Silva", "da Silva", is the lastname, so, I need ignore the "da " in the composition of username, when I create the new user.

asked May 22 by fgmello (40 points)
3,589 questions
3,278 answers
8,303 comments
548,135 users