0 votes

We would like to have a business unit that is based on an adaxes custom attribute. I don't see a way of doing this. Do you all have any ideas?

by (5.9k points)

1 Answer

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

Hello Mark,

Unfortunately, there is no such possibility using Business Unit membership rules directly. As a solution, you can use a Scheduled Task and two PowerShell scripts. The scripts will add/remove a membership rule specifically for each user based on the custom attribute value. The task will look like the following: image.png Additionally, to make sure that after updating the custom attribute users are directly added/removed from the Business Unit, a Business Rule triggering After updating a user will be used: image.png If this approach meets your needs, we will provide you with the scripts.

0

Hi there, i am trying to accomplish this as well. Would it be possible to get a copy of the scripts?

0

Hello Richard,

Using scripts as described above is one of the approaches. However, it can be done without using scripts if you use an Active Directory attribute instead of an Adaxes custom one. In this case you will just need to specify a corresponding membership rule in the Business Unit. If required, the AD attribute can be updated based on a custom attribute update using a Business Rule like the following: image.png If you still want to use scripts, have a look at the following article from our repository: https://www.adaxes.com/script-repository/addremove-membership-rule-to-business-rule-for-target-object-s583.htm.

Related questions

0 votes
1 answer

I would like to know if it is possible to create a field in the web UI under user management to "assign" a machine to a user. I would like to be able to put the ... be moved to "workstation OU. Is there s custome field that can be used to accomplish this?

asked Oct 22, 2020 by copatterson (460 points)
0 votes
1 answer

Hello, Is it possible to grant members of a business unit permission to run a custom command? I know I'm able to give permission to a user/group to run a cmd on a business ... that can run the command. I've not been successful with any of my attempts to do so.

asked Mar 23, 2017 by JoCCCsa (510 points)
0 votes
1 answer

Dear Is it possible to change the values of a custom attribute (adm-CustomAttributeTextMultiValue4) when selecting a value from another custom attribute (adm-CustomAttributeText1). For ... , 2Latijn, 3Latijn, etc... Is this possible? Sincerly Hilmi Emre Bayat

asked Aug 26, 2019 by hilmiemrebayat (710 points)
0 votes
1 answer

Is it possible to script having users added (or removed) from a Security Group based on another AD Attribute? I have found ways to do this in Powershell (something like): ... just utilize the PS script and just run it through Adaxes on a timed fashion? Thanks!

asked Oct 7, 2014 by PunkinDonuts (2k points)
0 votes
1 answer

We are working with an HR package that will send us a CSV file every 4 hours with a list of users that need to be created, modified or deleted from our environment. The CSV ... change, etc.) Is there a script that can manage all of that on a scheduled basis?

asked Sep 2, 2020 by RayBilyk (690 points)
2,375 questions
2,131 answers
5,763 comments
180,515 users