0 votes

When we create a new user in Adaxes, we can select the job title in a dropdown because we have defined it in the property pattern. Now I would like to create a custom command for a special user which has to specify name, first name, exit and Job Title. However, I can't set the dropdown of the Job Title the same way as on the interface "Create User". How can I bring the same dropdown from "create user" into my custom command? image.png

Thank you!

by (280 points)

1 Answer

0 votes
by (12.2k points)

Hello,

You can use the following script from our repository to copy allowed property values from a property pattern to a custom command parameter: https://www.adaxes.com/script-repository/copy-allowed-property-values-from-property-pattern-to-custom-command-parameter-s598.htm.

Related questions

0 votes
1 answer

How do I script my custom command to display the output in the web interface? For instance, I need to see the output of the following ... interface. add-pssnapin Microsoft.Exchange.Management.PowerShell.E2010 Get-MailboxDatabase | Get-MailboxDatabaseCopyStatus

asked Dec 11, 2012 by mdeflice (350 points)
0 votes
0 answers

Is it possible to do something such as this: When creating a user in the web interface, setup the form so that certain fields have a dropdown list of available values, ... "department", they would see a dropdown list of pre-populate options to choose from.

asked Aug 11, 2016 by HDClown (220 points)
0 votes
1 answer

Hello I have a piece of code that troubles me: Import-Module Adaxes # $Server = $Context.GetObjectDomain("%distinguishedName%") $Advisgruppe = "%distinguishedName%" $Member = $Context. ... ). In the case above, it is a specific security group. - Thanks

asked Mar 16, 2016 by Boxx.dk (2.6k points)
0 votes
1 answer

I had a business rules that had a PowerShell script to update User properties in a SQL table. It was working fine. I moved the PowerShell to a custom command so I could ... in the custom command does get the values for the User object. Am I missing something?

asked Jun 2, 2014 by sdavidson (730 points)
0 votes
1 answer

I'm lost as to why "Create User" doesn't show up. I made a new dashboard, mirroring the default Help Desk. Under Actions, I enabled Create User. On the web interface, the option to create a user is not showing. Am I missing a step?

asked 3 days ago by tromanko (260 points)
3,374 questions
3,073 answers
7,817 comments
545,367 users