Question:
How the Total active users number seen in the Admin Users console is calculated?
For example, the Admin Console > Users shows:
Total active users : 1023 ( SupportStaff: 8, Practitioner: 996, ProjectManager: 23, Lite User: 23, ReadOnlySupportStaff: 6, Librarian: 8, SysAdmin: 49 )
In MongoDB:
db.users.find().count()
1431
db.users.find({"deactivatedFlag" : true}).count()
355
db.users.find({"deactivatedFlag" : false}).count()
1076
db.users.find({"_systemRoles" : 'Practitioner'}).count()
1348
Total does not match.
Answer:
Domino's Total active users that's displayed in the Admin Users console is the number of users who are not deactivated excluding the user records that point to organizations.
Basically it is number of records in the users
collection where deactivatedFlag != true then subtract the number of records in the organizations
collection.
Please note Total active users won't match the sum of all Practitioners + SupportStaff + SysAdmin because some users have more than one role, and therefore will be counted in all those categories.
If you have any further questions, please contact Domino Support at support@dominodatalab.com.
Comments
0 comments
Please sign in to leave a comment.