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 (294k 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

When setting up a rule based group, GMSA objects are not visible. Is there a setting or view I need to add to make these availabe to rule based groups, or is it simply not an option?

asked Sep 16 by ajmilic (100 points)
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 (200 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

Is it possible to create a business unit and have it auto populate with group owners in a specific OU. I've tried a few scripts to get propertie adm-managedbylist but none have worked so far.

asked Nov 18 by C27 (20 points)
3,589 questions
3,278 answers
8,303 comments
548,159 users