API endpoint: Find a User by Criteria - Xenforo 2

API endpoint: Find a User by Criteria - Xenforo 2 1.0.2


API endpoint Find a User by Criteria - Xenforo 2.webp


Adds a new endpoint to the Users API controller allowing developers to retrieve a user based on one of three criteria:
  1. user_id
  2. email
  3. username
All parameters are optional and if more than one is specified, the search is performed against each criteria above in the order listed.

For example, if all three parameters are specified and a user_id match is found, that will be returned regardless of the email or username parameters. Similarly, if the user_id is not found, but the email address is, then the user with that email address will be returned regardless of the username specified.
 

Attachments

Similar threads Most view View more
Back
Top Bottom