Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admGetAllAccounts()

Package

adm

Alias

Pkg Usage

[use "adm"; allAccounts();]

Description

Excerpt
hiddentrue
Gets all the accounts ever on the system.

Gets all the users accounts. Both active and inactive accounts. Care should be exercised because it might return a large number of objects. NOTE: Requires admin token to be set!

Return Type

JUser []

Example

Code Block
languagejs
JUser [] users = admGetAllAccounts();

Returns all accounts

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "user_routine" and space = currentSpace ( )
labelsarray_routines