Jump to content

User Export


Recommended Posts

Hello, I have searched but can't see a way to export a list of all my Users on our system.  Is there a straight forward way?  I currently use a report but find I'm missing some accounts and as the User accounts have a cost implication I'd like to see exactly who all my User accounts are.

 

Thank you,

Bobby

@Alisha

Link to comment
Share on other sites

Hi @BobbyB

The reporting would only miss accounts if you have filtering applied. If you wanted to get a full list of every single account in Hornbill, you can create a report against the h_sys_accounts table with no filtering (keep in mind there may be a limit on the number of results returned based on your system settings)

Kind Regards

Bob

Link to comment
Share on other sites

Thanks @Sam P and @Bob Dickinson,

 

So the report just using the h_sys_accounts does work but for me to distinguish between us (IT) and our Business side I need to also include the account Department.  Now I believe you may have helped with this in the past Bob, with my tables setup as this:

image.png.adabac1d5d52cb889bb3162ec3ed8d46.png

But the issue I get with this is multiple entries for a User as it is listing all of their roles.

This filtering works on just the h_sys_accounts_roles, now just need to get the department displayed.

image.thumb.png.258291789a20848862e4a1ba10fc0a2e.png

Thanks,

Bobby

Link to comment
Share on other sites

Hi @BobbyB

I'm not sure where or what that table was originally used for (especially if I created it years ago! 😂) but it doesn't really work for your requirement - so I have amended it and hopefully, the attached meets your criteria:
 

it---service-desk---hornbill---users-grouped-by-department.report.txt

A few points:

  • This will only show a user that has an associated Department. If they don't have a Department, they won't show on the report
  • If for whatever reason a user has 2 (or more) Departments associated to them, they would appear twice on the report

 

I've also attached another report that you can upload - which shows you if there are any users on your instance that don't have an associated department. You can then troubleshoot accordingly:

users---all-users---no-department-assigned.report.txt

 

Is this what you need?

Kind Regards

Bob

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...