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
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

I am trying to create a Script power Shell for creating users with a South American standard. I need to use the first part of firstname + the ... .TargetObject.Put("userPrincipalName", $userPrincipalName) # Aplica as mudanças $Context.TargetObject.SetInfo()

asked Feb 21 by victor.motta (20 points)
3,647 questions
3,335 answers
8,432 comments
548,981 users