username search against the database?
-
I want to know what user name has registered to an application but I don't have
username
in the registration table:SELECT id FROM fa.user_registrations WHERE username!=null;
This query gives me nothing in the results.
-
The user and registration may have a username field. The username field on the user is the one that can be used to login. In general you will want to use the Search API for those types of queries rather than directly accessing the database.
The reason is because the API is documented and stable, and the database is undocumented and may change.