Get a list of all domain users with attribute

Welcome to the forums :wave:

This is the third thread you have started with a code snippet. Do you have a question?

Also, when you post code, error messages, sample data or console output format it as code, please.

You may also want to redact the domain name you’ve posted in this thread.