0 votes

Hi there!

I'm currently running a demo of Adaxes, with the goal of having the system configured so it's our HR team creating users, rather than help desk staff (so we need to make the process as simple as possible). So far so good, but was hoping to get clarification on how we'd achieve the below or if it's possible?

1. Have the help desk user only enter the First Name and Last Name, and have the system automatically create a username that's first name + first two letters of last name
2. Based on a drop down, say "department", automatically add the user to certain security groups
3. Based on the same drop down, also put them in a specified OU
4. Don't ask the user for a password, instead generate one automatically and display on screen or email the username and password to the person who created the account

Any direction would be greatly appreciated.

Cheers
Matt

by (50 points)
0

In addition to this, can we add custom fields to the new user form the details of which are emailed to IT? For example, checkboxes for "user requires phone", "user requires laptop" etc?

1 Answer

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

Hello Matt,

Yes, all of that is possible.

  1. Have the help desk user only enter the First Name and Last Name, and have the system automatically create a username that's first name + first two letters of last name
  2. Don't ask the user for a password, instead generate one automatically

This can be done with the help of Property Patterns. To do so:

  1. Launch Adaxes Administration Console.
  2. Navigate to <Your_Adaxes_Service>\Configuration\Property Patterns.
  3. Select a Property Pattern applied to users. By default, User Pattern located in the Builtin container is applied to all users in AD.
  4. In the Result Pane (located to the right), double-click the User Logon Name (pre-Windows 2000) property.
  5. In the Generate default value field, specify the following: %firstname:lower%%lastname:lower,2%
  6. Click OK.
  7. Click the Add button located in the top-right corner of the Result Pane and select Password.
  8. In the Password template field, specify how a password should be generated. For example, if you want to have a random password consisting of 8 characters, specify %adm-RandomString,8%. For more details, see Value Reference Format.
  9. When done, click OK, and then click Save changes.

display on screen or email the username and password to the person who created the account

For information on how to send password of a newly created, see the following tutorial: http://www.adaxes.com/tutorials_Automat ... ViaSMS.htm. It demonstrates how to send the password by SMS. If you want to email it instead, add the Send e-mail notification action on step 4. To send the email message to the person who created the account, insert the %adm-InitiatorEmail% value reference in the To field.

  1. Based on a drop down, say "department", automatically add the user to certain security groups
  2. Based on the same drop down, also put them in a specified OU

In addition to this, can we add custom fields to the new user form the details of which are emailed to IT? For example, checkboxes for "user requires phone", "user requires laptop" etc?

For this purpose, you can use Adaxes Custom Attributes. Such attributes are not stored in AD, but can be used the same as any other attributes of AD objects.

Names of custom attributes start with CustomAttribute. For example, names of attributes used for text values are CustomAttributeText1 to CustomAttributeText30. For options, you can use boolean (True/False) attributes, e.g. CustomAttributeBoolean1. When added to the Web interface, they are displayed as checkboxes.

For information on how to add the attributes to the Web Interface pages for creating and editing users, see the following tutorial, starting from step 6: http://www.adaxes.com/tutorials_WebInte ... tomization.

For information on how to change the names of the attributes as they appear everywhere in Adaxes, see the following help article: http://www.adaxes.com/help/?HowDoI.Mana ... Names.html.

To include values of the attributes in emails, SMS messages etc, you can use value references. A value reference for a custom attribute comprises of its LDAP name enclosed in percent characters. For example, a value reference for attribute CustomAttributeText1 will be %adm-CustomAttributeText1%.

0

Thanks very much for your help, looking good!

Can you let me know, can I import a list of values into a list? For example I have over 400 departments that I want to copy and paste in as a list but it looks like you can only do one value at a time?

0

Hello,

You can use the Add from file option. Each line in the file will be added as a value to the list. It is recommended to use files of TXT format. To import the list of values:

  1. Launch Adaxes Administration Console.
  2. Navigate to <Your_Adaxes_Service>\Configuration\Property Patterns.
  3. Select a Property Pattern.
  4. In the Result Pane, double-click a property.
  5. Select Must be one of the following values only and click Edit.
  6. Click the drop-down arrow next to Add button and click Add from file.
  7. Select the file and click OK.
  8. Click OK again and save the changes.

Related questions

0 votes
1 answer

I'm getting a syntax error on this command and I can't figure out what I'm doing wrong: $criteria = New-AdmCriteria "user" {adm-CustomAttributeInt2 -empty $false -and ... AdmCriteria : The criteria is invalid. Syntax error at position 68. At line:1 char:13

asked Oct 17 by jmatthews (190 points)
0 votes
1 answer

We're trying to setup a new action in our Web interface that runs on User's that are currently in an OU called 'New Starters' that is in all of our domains (An ... no results, There are no other fields we can use that are unique to accounts in those OUs

asked Feb 7, 2020 by richarddewis (260 points)
0 votes
1 answer

Hello, I'm wondering if it's possible to export a list of all users in AD along with their email addresses to an Excel spreadsheet and then schedule that export to append ... address that wasn't previously used. Please let me know if this is possible. Thanks!

asked Apr 11 by sjjb2024 (60 points)
0 votes
1 answer

We would like to auto enroll our entire company into Adaxes for self service but do not want to use the question/answer format but instead their phone numbers (provided by HR department). Is this possible? Best, Evangelos

asked Oct 1, 2021 by evangelos (60 points)
0 votes
1 answer

Hi! I need a report of user accounts with empty attributes. Is there a possibility to make such report? Thanks in advance.

asked Sep 11, 2009 by philip (20 points)
3,569 questions
3,259 answers
8,275 comments
547,937 users