Skip to main content

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 Users Who Are Connecting With Insecure Ciphers

By including the last_login_at and last_protocol_cipher fields in your report, you can generate a CSV report of your users that are connecting with insecure ciphers.

files-cli users list --fields username,last_login_at,last_protocol_cipher --format csv

Examining the results will show which users are connecting with an insecure cipher. If the cipher that was used contains any of the following strings, it is not a secure cipher.

TLSv1
TLSv1.1
nistp521
nistp384
nistp256
exchange-sha1
group1
arcfour
-cbc
hmac-md5
sha1-96

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

Ready to Transform Your File Infrastructure?

Join over 4,000 organizations that trust Files.com to manage their mission-critical file flows. Start your free trial today and see why we're the #1 rated file orchestration platform.

No credit card required • 7-day free trial • Setup in minutes