I'm trying to run a powershell script that triggers before updating a user, but only run it if the action comes from the self-update web interface. Is that possible?

ago by (40 points)

1 Answer

ago by (306k points)
0 votes

Hello,

Unfortunately, there is no such possibility. However, thank you for the suggestion. We forwarded it to the corresponding department for consideration.

ago by (2.2k points)
0

My first thoughts of this are a) restrict the action only to one portal and use another action/script for other portals

b) maybe you can add a variable to the web form/action and check this within the script

ago by (40 points)
0

Yes, adding a variable is probably what I'll end up doing. Thanks for the tips.

ago by (40 points)
0

Great! Would love to see this in a future release... hopefully the next one :)

ago by (306k points)
0

Hello,

If the approach meets your needs, you can use predefined fields instead (one of Adaxes custom boolean attributes can be set to True). This way, end users will not be confused by an extra property on the form. Section How to set predefined property values of the following tutorial will be helpful: https://www.adaxes.com/help/ConfigureActionsPane. Also, it is a good idea to clear that marking property in your business rule. In this case, the rule will look like the following: image.png

Related questions

For creating a computer object, we want to check if the entered CN is already used in our AD. And for that we want to use a powershell script. An other dot ... powershell script should be start before creating the computer object, right? Thanks for your help.

asked Jun 4, 2024 by KEME (100 points)
0 votes
1 answer

I have a dropdown-field on the web surface, which is populated by a script. The script looks up all groups in a specific OU and displays them. In the Property Pattern ... random order. What should i do to show the groups in alphabetical order in the portal?

asked Sep 15, 2020 by lohnag (160 points)
0 votes
1 answer

I'd like to limit users from being able to login to the Web interface. In other words, if a user opens multiple browsers or tabs, can I prevent them from being able to login to each tab/browser and starting multiple sessions? Thanks!

asked Apr 10, 2024 by cewilson (300 points)
0 votes
1 answer

Is it possible to only allow a user to unlock their account from the web interface? We have a group of Mac users who we'd like to be able to unlock their accounts through the web but use a different service for changing their passwords.

asked Jun 30, 2020 by scoutcor (180 points)
0 votes
1 answer

Hi, I followed this example: https://www.adaxes.com/sdk/IAdmTop6.html, but because the Custom Command is disabled, I get the following error message: System.Management.Automation ... if I enable the Custom Command. I am using Adaxes 2018.2 Best Regards Martin

asked Feb 19, 2020 by Martin (170 points)
0 votes
1 answer