Forum Discussion
Roger Roger
Apr 28, 2020Iron Contributor
Dynamic AD group
Hi Experts I am using exchange hybrid environment, all my users are created on onprem and migrated to cloud. for example i have user1 whose department number is 100, every user has department numb...
DavidLundell
Jun 06, 2025Brass Contributor
I know this is an oldie but I figured that if anyone looks at this reference we should note that the -in operator is more efficient that -or so I would do this:
user.department -in ["101","102"]
The -in operator is good for up to 15 items