Benchtop Measurement and Test
Distributed Measurement and Control
Systems Engineering Software
Perspectives showcases how NI sees what’s next in the world of test and technology.
You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
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.
Go to Solution.
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 Rodway | Principal Software Engineer | Certified TestStand Architect (CTA)Computer Controlled Solutions Ltd | NI Silver Alliance Partner | GDevCon#1 Sponsor
What do you need our team of experts to assist you with?
We'll be in touch soon!