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

1 Answer

0 votes
by (187k 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 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 (2k 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 (1.8k 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 (6.1k points)
0 votes
1 answer

Hi All, I was following the following documentation https://www.adaxes.com/tutorials_DelegatingPermissions_GrantRightsToModifyADGroupMembership.htm However I cannot work out how to make it ... can only add themselves. Any help would be great. Many Thanks

asked Mar 30 by antondubek (1.9k points)
0 votes
1 answer

Hello, Is there a PS script available to add a user to an o365 group (o365 only - not synced to AD) that can be used after user creation in a business rule? Thanks very much.

asked Oct 31, 2018 by Jasonmh (2.8k points)
2,330 questions
2,085 answers
5,671 comments
92,744 users