API GetUserListByFilteredDomain With userFilter Usage and Examples
Has anyone successfully use the API GetUserListByFilteredDomain method with userFilter? Examples? My goal is to retrieve only users from a specified domain.
I'm able to get a response with GetUserList (see below). However, GetUserListByFilteredDomain returns null.
$.ajax({
cache: false,
url: "/api/V3/User/GetUserList?userFilter=username",
type: "GET",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data){
console.log(data);
}
});
Thanks is advance.
Answers
Hi Steve,
I'm not familiar with that particular call, but if you can't seem to get it to work, one alternative is the "GetDashboardDataById" call. You can create a new dashboard query and use it as a parameter in that call to get just the users from a specific domain.
Thanks,
Nick