0 votes

Is it possible to have a Property Pattern based on what is selected in the "Create User" Webform?

For example, if you were to select "Contractor" from a pull down menu item for Employee Type, it would pre-pend the User Logon Name with "c-" but if they select Employee it does not.

by (1.1k points)

1 Answer

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

Hello,

It is a popular request, but currently such functionality is not available. As a workaround, you can create a Business Rule triggered after creating a user that will automatically append the prefix. For example, it can look something like this:

If you need details on implementing the Business Rule, we will help you.

0

I was thinking that was the case.

The business rule looks pretty straightforward to create. Thanks!

0

Is it possible to do Before creating a user?

I have a Business Rule to check that the username is not used before creating a user.

It would also help my After creating a user rules to pass the new username.

0

Hello,

It is not possible to use the Update the User action in scripts triggered before creating a user. As a workaround, you can create a PowerShell script that will update the User Logon Name (pre-Windows 2000) depending on the Employee Type and then check the logon name for uniqueness. You can use the following script from our repository as a sample: http://www.adaxes.com/script-repository ... e-s298.htm. If you have difficulties with modifying the script to your needs, we will help you.

Related questions

+1 vote
1 answer

I see many questions regarding this in the Forum, and last solution is from 2014 - based on custom PS script, has something in the product come up that solves this ... outputs users that does not comply to property pattern in order to upkeep AD sanity. Thanks

asked Jan 21, 2021 by spinnetho (50 points)
0 votes
1 answer

My webform is not picking info based off the property pattern template specifically the logon name and the UPN

asked Mar 8, 2022 by Keonip (180 points)
0 votes
1 answer

When we create a shared mailbox, we create an associated mail-enabled security group. In the security group I want to populate the description field with the name of the shared mailbox ... How can I get just the "name" of the shared mailbox versus the full DN?

asked Feb 4, 2021 by atnorman (120 points)
0 votes
1 answer

Hello, I have trouble understanding the instruction listed here: https://www.adaxes.com/script-repositor ... s-s516.htm What should I put into $propertyForSearch and ... Since Adaxes is not the only system adding new locations to AD. Thank you.

asked Jul 4, 2019 by DLe (760 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)
3,526 questions
3,217 answers
8,197 comments
547,625 users