0 votes

I need to create a lot of groups that have similar dynamic membership rules.

e.g.

Marketing group that adds users if they are enabled and if customAttribute10 is "14" Sales group that adds users if they are enabled and if customAttribute10 is "18" Admin group that adds users if they are enabled and if customAttribute10 is "42"

but I need to do this for about 100 groups, and I'd like to copy all the other settings and attributes between them.

So is there a way to do this in bulk?

ago by (80 points)

1 Answer

0 votes
ago by (236k points)

Hello,

It is only possible to create rule-based groups in bulk via a script. The following SDK articles should be helpful:

https://adaxes.com/sdk/SampleScripts.CreatingGroups

https://adaxes.com/sdk/IAdmGroup2

For your information, Adaxes custom attributes (e.g. CustomAttributeText1) cannot be used in membership criteria for rule based groups. This behavior is by design and cannot be changed. As such, if customAttribute10 is an Adaxes custom attribute, the only approach you can use is via business rules or scheduled tasks. For details, have a look at section Centralized automation of the following tutorial: https://www.adaxes.com/help/AddUsersToGroupsByDepartment/#centralized.

Related questions

0 votes
1 answer

I am trying to see if I can implement this in Adaxes somehow to support role-based provisioning to external apps (using appropriate Powershell scripts) but struggling to work ... to invest in a full-blown role-based provisioning platform (would rather not!).

asked Dec 24, 2019 by Bernie (310 points)
0 votes
1 answer

Currently, when I disable a user account in Adaxes, the group memberships of the user remain intact. I'd like to automate the removal of group memberships such as distribution ... a list of groups/DL that the user was previously in and removed from. Thanks!

asked Nov 3, 2021 by jayden.ang (20 points)
0 votes
1 answer

for example i add a form "create user for France" in the left pane, how can i translate it automatically when the UI in in French ? thank you

asked Apr 29, 2021 by GG (70 points)
0 votes
1 answer

Thanks for the info. I'm now grabbing the %adm-ManagerUserName% value, but need to remove the final 21 characters of it so it contains only their username and not our ... this in the PowerShell Script Editor for my business rule, I get the following error:

asked Mar 11, 2021 by mkvidera (60 points)
0 votes
1 answer

We'll be updating over 14K accounts with data (adding data to a virtual attribute) using a scheduled task but I don't want the updates to trigger Business Rules and flood the Adaxes log with entries. Is there an easy way to prevent this?

asked Apr 12, 2022 by sandramnc (820 points)
2,931 questions
2,647 answers
6,860 comments
157,449 users