System.user.getUsers(...) question

If I am using an Active Directory user source, will system.user.getUsers() return a list of all the users specified by the active directory search string?

Essentially, yes. It will return a list of user objects from the user source specified in the functions parameters.

Interesting, I don’t get the same results… basically, I can authenticate against an Active Directory data source, but when I use the getUsers() to try to get a list of all users back, it returns an empty set.

I’m not seeing this issue. :confused: How are you calling it?

Looks like a config issue on my end. The call doesn’t look like it’s throwing an exception when an error occurs, it just returns an empty list. I see the exception in the gateway log. Let me get that resolved and I’ll see if it works.