Manual Update faspex user

Rake tasks are scripts that allow you to retrieve, delete or update information on your Faspex server using the command line. This article describes a custom rake task available to add users to a specific workgroup/dropbox.

Please note that you must install this rake task as it is not yet included by default on Faspex. For more information on custom rake tasks and how to install them, see this article (Custom rake tasks on Faspex).

Usage

You can update a faspex user changing:

- username

- first name

- last name

- email

The user is referenced with ID. The ID of the user can be retrieved by administrators under account panel: overlaying the mouse on the user or clicking on the user itself. In the latter case, a new URI is open in the form of https://FASPEX_SERVER/aspera/faspex/account/users/ID/edit?page=1

 

 

The syntax is as following:

asctl faspex:rake custom:update_user -- [options] 
short form long form description
-iid --id=ID The ID of the user, mandatory  
 -nuser_name --name=user_name new username of the user ID
-eemail --email=email new email of the user ID
-ffirstname --firstName=firstName new first name of the user ID
-llastName --lastName=lastName new last name of the user ID 
 -h  --help print out help information for this rake task

 

Example

 

asctl faspex:rake custom:update_user --  --id=5 --email=new_user_email@example.com -nnew_user_name
Overriding old_user_name with name new_user_name for user 5
Overriding old_user_email@example.com with first name new_user_email@example.com for user 5
Saving the user
User 5 sucessfuully updated.

 

0 Comments

Article is closed for comments.
Powered by Zendesk