Skip to main content

Export List of Users

Comments

3 comments

  • Zendesk API User
    Author: hoebbel - 2/27/2025 7:31

    Hello dhelmstetter,

    I would use a script. For example like this:
    Create a Server Schedule Entry (ServerManager=>Server/Properties=>Schedule management=>new entry with script action) and as script content e.g.:

    import de.espirit.firstspirit.access.AdminService; import de.espirit.firstspirit.access.ServicesBroker; broker = context.getConnection().getBroker(); adminService = context.requireSpecialist(ServicesBroker.TYPE).getService(AdminService.class); allUsers = adminService.getUserStorage().getUsers(); for (user:allUsers) { context.logInfo("Login:" + user.getLoginName() + " /UserName: " + user.getName() + " /eMail: " + user.getEMail() + " /isActive:" + user.isActive()); }

    If it is needed more than once, it would make sense to create a csv file instead of the output in the log

    Best regards,
    Holger

    0
  • Zendesk API User
    Author: dhelmstetter - 3/24/2025 9:15

    Hello! Many thanks for the script. I tweaked it a little so it meets our expectations, but overall it worked just fine!

    0
  • aidio

    I would use a script

                                                                                                                                            Transcribe Audio To Text

    0

Please sign in to leave a comment.