07-02-2018 06:18 AM
I'm using the below code to try and see if a user belongs to a group, if he/she does, then remove them.
Attached is a snippet of the code. The true case in the case selector is:
Am I missing something? I can't work why the property object node returns "Members" all the time.
Solved! Go to Solution.
07-02-2018 07:14 AM
Hi,
I've looked through your snippet and simplified the user check and deletion - "Members" is the name of the Property, whereas you need to check the string value of each element:
I hope this helps,
Charlie
Charlie Rodway | Principal Software Engineer | Certified TestStand Architect (CTA)
Computer Controlled Solutions Ltd | NI Silver Alliance Partner | GDevCon#1 Sponsor