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 (2.1k points)

1 Answer

0 votes
by (233k 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 want to make a custom field in which you can select a person from the active directory, is this possible? For example, as in the field manager

asked Nov 18 by Alvares (80 points)
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 (70 points)
0 votes
1 answer

This is for license purposes and we do not want them visible in the Adaxes portal.

asked Oct 22, 2021 by jfrederickwl (20 points)
0 votes
1 answer

We are replacing our Namescape rDirectory product with Adaxes because of the very flexible automation components. I've been able to replicate some of the pages previously ... vast majority of our users, that would function as the default company directory.

asked Aug 5 by MRBruce (110 points)
0 votes
1 answer

We are trying to extend our Adaxes management to O365 / Azure only user objects. Currently we use employee type to add traditional active directory accounts to business units and ... so, can this be used to create dynamic mail enabled security groups in O365?

asked May 3 by adaxes_user2 (40 points)
2,880 questions
2,600 answers
6,751 comments
117,117 users