Managing User Accounts

As an administrator, you can manage user accounts within your Files.com site using the CLI App.

List All User Accounts

files-cli users list

You might find it helpful to export in CSV format and save that output to a file. Here's how to do that:

files-cli users list --format=csv --output="C:\path\to\users.csv"

or

files-cli users list --format=csv > users.csv

List Specific User Accounts

files-cli users list --ids="1111,2222,3333"

or

files-cli users list --fields="id,username" --filter-by="username=<NAME>"

The --filter-by option in the above command also allows the asterisk character to be used for wildcard matching:

files-cli users list --fields="id,username" --filter-by="username=*ichael*"

Create a User Account

files-cli users create --username="amy" --password="S0meRea11yLongP@ssw0rd" --authentication-method="password" --name="Amy Anybody" --company="Amy’s Company Name" --notes="Some notes about Amy." --user-root="/users/amy"

Update a User Account

files-cli users update --id=12345 --password="NewP@ssw0rd" --email="my_new_email@company.com"

Update User Daily Email Notification Send Time

Indicate the hour of the day, from 0 to 23, when notifications should be sent (in the user's timezone).

files-cli users update --id=12345 --notification-daily-send-time=16

Disable a User Account

files-cli users update --id=12345 --disabled=true

Enable a User Account

files-cli users update --id=12345 --disabled=false

Delete a User Account

files-cli users delete --id=12345

Get Instant Access to Files.com

The button below will take you to our Free Trial signup page. Click on the white "Start My Free Trial" button, then fill out the short form on the next page. Your account will be activated instantly. You can dive in and start yourself or let us help. The choice is yours.

Start My Free Trial

©2024 Files.com. All right reserved

FILES.COM

  • Start My Free Trial
  • Pricing
  • Docs
  • API and SDKs
  • Contact

CONTACT & SUPPORT

support@files.com

(800) 286-8372

Monday–Friday

9am–8pm Eastern