ListAccounts (GET)

ℹ️

APIs: GET ManagedSystems or GET ManagedSystems/{id}

Parameters

  • SystemName (optional): Managed system name (must be used with AccountName).
  • AccountName (optional): Managed account name (must be used with SystemName).
  • WorkgroupName (optional): Workgroup name.
  • Type (optional): Type of managed accounts to return.
    • System: Returns local accounts.
    • Domainlinked: Returns domain accounts linked to systems.
    • Database: Returns database accounts.
    • Cloud: Returns cloud system accounts.
    • Application: Returns application accounts.

Examples

psrun2 -separator "," -filter "SystemId,SystemName,AccountId,AccountName" $(cat conn) ListAccounts TestSystemName TestAccountName "BeyondTrust Workgroup"
psrun2 $(cat conn) ListAccounts
psrun2 $(cat conn) ListAccounts database

©2003-2026 BeyondTrust Corporation. All Rights Reserved. Other trademarks identified on this page are owned by their respective owners. BeyondTrust is not a chartered bank or trust company, or depository institution. It is not authorized to accept deposits or trust accounts and is not licensed or regulated by any state or federal banking authority.