Solved

Find Users with Hidden Flag = true

  • 14 September 2023
  • 1 reply
  • 88 views

I am trying to write some code that finds how many Users have their "Hidden" flag set equal to true via a GET request.

I've tried to do it using parameters in the url, but the only parameter that the RC API seems to accept is the "email" parameter.

Would anyone be able to help me out with this? I am using the RC JavaScript SDK. Please let me know if you need any other information.

icon

Best answer by Phong1426275020 14 September 2023, 20:00

View original

1 reply

Userlevel 1

Unfortunately, the hidden flag is not one of the query parameters of the List Extensions API

You just have to call the API, limited the result by setting the query param "type=User" (because the hidden flag is applied only to "User" extensions. Then, parse the result with a record.hidden is true to identify a hidden user.

Reply