1.3. listcontext

listcontext is the tool to list and search for contexts.

1.3.1. Parameters

-h,--helpPrints a help text
--environmentShow info about commandline environment
--nonlRemove all newlines (\n) from output
-s,--searchpattern <string>Search/List pattern, default *
--csvCommand output as csv

1.3.2. Extra parameters when authentication is enabled

-A,--adminuser <adminuser>Master Admin user name
-P,--adminpass <string>Master Admin password

1.3.3. Return value

0 on success

>0 on failure

1.3.4. Mandatory parameters

{adminuser adminpass}

1.3.5. Command output

Standard output:

cid fid fname       enabled qmax qused name        lmappings
  .   . ...         ...     ...    ... ...         ...

csv output:

id,filestore_id,filestore_name,enabled,max_quota,used_quota,name,lmappings

1.3.6. Example

root@oxhe:/opt/open-xchange/sbin# ./listcontexts
cid fid fname       enabled qmax qused name        lmappings
  6   3 6_ctx_store true    1000     0 customerA   6,customerA,secondlogin