Comparing to Lists of Strings for No Intersection

I need to find out if a logged on user does not exist in one of the Active Directory groups (“XX”;“YY”;“ZZ”).

I tried throwing a not into the following relevance assuming it would work, but it did not.

exists ((names of groups of it) of (logged on users of active directory)) whose (it as lowercase is not contained by set of ("XX";"YY";"ZZ"))

I could use:

exists elements of intersection of (set of ("to";"yy"); set of ("or";"not";"to";"be"))

but I don’t know if I can make the following into a set.

 ((names of groups of it) of (logged on users of active directory))

I think I have the answer.

not exists elements of intersection of (set of ((names of groups of it as lowercase) of (logged on users of active directory)); set of ("automation_pega_ana_branch";"automation_pega_ana_unbilled";"automation_pega_ana"))
2 Likes