How To: List users via PowerShell, NXCLI, or SQLite

How To: List users via PowerShell, NXCLI, or SQLite


How To: List users via PowerShell, NXCLI, or SQLite



Question

How to get a list of users via PowerShell, NXCLI, and/or SQLite


Answer

Below are the scripts that will list the users via PowerShell, NXCLI, and/or SQLite.



Script for PowerShell


$list = Get-UsrList -ServerGuid $myserver -AuthGuid native

For PowerShell scripts, you may check this URL for more samples: https://github.com/southrivertech/titanapi.pub/tree/main/sdk/powershell/samples 


Script for NXCLI


nxcli /AdminUser="your-admin-user" /AdminPass="your-admin-pass" /Target=USR /Action=list /ServerName="your-server-name" /Username="user" /AuthGUID=native


Script for SQLite Database

SELECT document from nxUserParams where Discriminator = 'Name';



    • Related Articles

    • How To: Install Titan NexGen via CMD

      How To: Install Titan NexGen via CMD Question How can I install the Titan server in Windows via the command prompt? Answer Follow the step-by-step procedure below. Pre-requisites The Titan NexGen is installed. Below are the links to install Titan ...
    • ADDGROUP and ADDUSER command limitations with non-native authentication

      ADDGROUP and ADDUSER command limitations with non-native authentication Question How to use ADDGROUP and ADDUSER command in cmd and what are the limitations? Reasoning SRXConfig allows you to make changes to your server settings via the command line. ...
    • How To- Reset Domain TLS Certificate using Sqlite3 and PowerShell

      How To: Reset Domain TLS Certificate using Sqlite3 and PowerShell Question How do I reset the TLS certificate for a domain using the PowerShell API? Answer You can reset the domain TLS certificate via the PowerShell API by executing the appropriate ...
    • How To: Get the list of Variables

      How To: Get the list of Variables Question Where can I get the list of Variables Titan uses? Answer Below are the steps to get the list of Variables: Steps to get the list of available variables in Titan NexGen Go to Domain > Server Click ...
    • How To- Reset domain Tls Certificate using PowerShell API

      How To: Reset Domain TLS Certificate using PowerShell API Question How do I reset the TLS certificate for a domain using the PowerShell API? Answer You can reset the domain TLS certificate via the PowerShell API by executing the appropriate command ...