Skip to main content
UNA Community Management System UNA Community Management System UNA Community Management System UNA Community Management System
  • Platform
  • Resources
  • Community
  • Pricing
How to find accounts without profiles? Comment
    •  ·  Alex T⚜️
    •  ·  2018-11-07T10:09:43+0000

    Accounts without profiles will have empty "Profiles" field on this page - page/accounts-administration

    • See older replies...
      •  ·  Baloo
      •  ·  In reply to
        Alex T⚜️
      •  ·  2018-11-22T23:32:39+0000

      Alex, how to identify an account that does not have a profile because in the sys_accounts table an account that does not have a profile seems to still have a profile_id.
      How are you doing then?

        •  ·  Alex T⚜️
        •  ·  In reply to
          Baloo
        •  ·  2018-11-26T03:45:44+0000

        You can use the following query to get all emails which don't have any person or org profile associated with it:

        SELECT `email`
        FROM `sys_accounts` AS `a`
        LEFT JOIN `sys_profiles` AS `p` ON ( `p`.`account_id` = `a`.`id`
        AND `p`.`type` != 'system' )
        WHERE `p`.`id` IS NULL
          •  ·  Baloo
          •  ·  In reply to
            Alex T⚜️
          •  ·  2018-11-26T11:05:19+0000

          Thank you Alex, it helps, but like DeDiary, I hope a more user-friendly solution and secondly it is not a solution for turnkey solutions that you propose to avoid this kind of manipulation.

        See more...
        • Features
        • Pricing
        • Forum
        • Blog
        • Market
        • About
        • Copyright
        • Contact
        • Terms
        • Privacy
        • 𝕏
        Search
        UNA Community Management System UNA Community Management System UNA Community Management System UNA Community Management System
      • Platform
        • Features
        • Core CMS
      • Resources
        • Documentation
        • Marketplace
        • Discussions
        • Support Groups
        • API Reference
        • UNA CMS on GitHub
        • Webinars
        • Blog
      • Community
        • Discussions
        • Groups
        • Webinars
      • Pricing
      • Are you sure?
        Please, enter a value here