(Click to open topic with navigation)
To display account information, use the command glsaccount:
glsaccount [-A | -I] [-o organization_name][-X, --extension property=value]... [-u user_name] [--full] [--show attribute_name,...] [--long] [--wide] [--format csv|standard] [--debug] [--site site_name] [--help] [--man] [--quiet] [--version] [[-a] account_pattern]
Example 4-4: Listing all info about all accounts
$ glsaccount
Name Active Users Organization Description
------------- --------- ------------ ------------- ----------------------
biology True amy,^bob sciences Biology Department
chemistry True ^amy,^dave sciences Chemistry Department
film True amy,^dave arts Film Department
Example 4-5: Displaying the name and user members of an account in long format
$ glsaccount -—show Name,Users -long chemistry
Name Users
------------- -------
chemistry ^amy
dave
Example 4-6: Listing all account names
$ glsaccount --show Name --quiet
biology
chemistry
film
Example 4-7: Listing all accounts that have dave as a member
$ glsaccount --show Name -u dave --quiet
chemistry
film
Related topics