0 votes

We have two feilds, BirthDate and HireDate and we want to add new hires to a group if the differance is less than 40 years. Is there a scrip already that would do this?

by (1.3k points)

1 Answer

0 votes
by (272k points)

Hello,

There is no need to use scripts. It can be done using the If <property><relation><value> condition as below, where CustomAttributeDate1 stands for the birth date and CustomAttributeDate2 stands for the hire date: image.png

Related questions

0 votes
1 answer

Is it possible to add a user to a group based on hardware ? There are users with a Windows device and a MacOS device. I want to be able to choose this when ... the user via Adaxes and automatically link them to a specific group based on the chosen hardware.

asked Apr 16 by Cas (150 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 (360 points)
0 votes
0 answers

Our users accounts are on-prem &amp; synched through DirSync. Our distribution groups are cloud based only. What's the best way to automatically to accomplish these task? 1. ... the list being up to date if an account is created outside of adaxes) Thanks

asked Apr 27, 2015 by auser42 (340 points)
0 votes
1 answer

Hi, I need business rule that will forbid changing group membership type to rule-based for selected groups. Additionally I need PowerShell script for adding more groups to be watched by this rule. Thanks in advance!

asked Mar 9, 2023 by KIT (910 points)
0 votes
1 answer

Hi, I need same functionality as is rule-base membership for AD groups, but for AAD groups. To be more specific, I want to have AAD group that contains all user members from all selected groups (even nested ones!)

asked Mar 6, 2023 by KIT (910 points)
3,350 questions
3,051 answers
7,791 comments
545,069 users