Is there a way, as an admin, to see a list of users on my instance?

    • PTZ@lemmy.ptznetwork.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      To expand on that, I do a join between the local_user and person tables so I can grab the name and display names for the local users:

      select 
        p.name, 
        p.display_name, 
        a.person_id, 
        a.email, 
        a.email_verified, 
        a.accepted_application 
      from 
        local_user a, 
        person p 
      where 
        a.person_id = p.id;