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: 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: Changing SQL User Credential for Cornerstone MFT Server

      Question How do I change the DB user credentials used for my Cornerstone MFT Server? Reasoning I recently migrated my Cornerstone MFT server from an older Operating System (OS) to a newer one. I also updated the user account used for the SQL ...
    • How To: Backup/Restore SQL database for Titan NexGen Configuration

      How To: Backup/Restore SQL database for Titan NexGen Configuration Question How can I backup and/or restore from SQL database? Answer Here are steps recommended by Microsoft on backing up and restoring a SQL database: ...