0 votes

Update group membership based on one property values. I am trying to find a script that resembles "Update group membership based on two property value" but just for one value.

by (20 points)

1 Answer

0 votes
by (294k points)

Hello,

If you are using Adaxes 2020.1 or later, you can have rule-based groups. For details, have a look at the corresponding section of the following tutorial: https://www.adaxes.com/tutorials_AutomatingDailyTasks_AddUsersToGroupsByDepartment.htm#dynamicgroups. For information on how to check the version of Adaxes you are suing, have a look at the following help article: https://www.adaxes.com/help/CheckServiceVersion.

If you are using an older version, you can adjust the following script from our repository to meet your needs: https://www.adaxes.com/script-repository/update-group-membership-based-on-property-value-s570.htm. Should you have issues updating the script, please, specify the names of the properties that will take part in the workflow.

Related questions

0 votes
1 answer

Receive "Index operation failed; the array index evaluated to null. Stack trace: at <ScriptBlock>, <No file>: line 104>" and "Index operation failed; the ... $GroupName, $GroupDN." } } #foreach write-output "" Write-Output "" Stop-Transcript

asked Apr 14, 2022 by jbahou (20 points)
0 votes
1 answer

Hi, as the subject indicates I created a form within Adaxes using adm-CustomAttributeText to display various DropDown fields. My question is, is it possible to somehow link a ... fields to create a group and if so how should it look like? Regards Ingemar

asked Feb 13, 2014 by ijacob (960 points)
0 votes
1 answer

Hi team, I would like to update allowed values of a property pattern and found this script: https://www.adaxes.com/script-repository/add-new-allowed-property-value-to-a- ... multiple new values? I tried already a foreach around it, but not working properly :/

asked Sep 2 by wintec01 (1.5k points)
0 votes
1 answer

Hello, I have trouble understanding the instruction listed here: https://www.adaxes.com/script-repositor ... s-s516.htm What should I put into $propertyForSearch and ... Since Adaxes is not the only system adding new locations to AD. Thank you.

asked Jul 4, 2019 by DLe (760 points)
0 votes
1 answer

We have RBAC groups inside an OU. We would like to restrict users from being added to multiple RBAC groups at a time. For example: RBAC Roles OU Sales RBAC Group ... groups outside of this OU structure though. What's the best way to achieve this? Thanks

asked Oct 13, 2021 by bavery (250 points)
3,588 questions
3,277 answers
8,303 comments
548,091 users