Bulk Create and Manage Users with Rake Tasks
Rake Commands
asctl faspex:rake users:bulk_create -- -u userfile -p propertyfile
asctl faspex:rake users:bulk_update -- -u userfile -p propertyfile
asctl faspex:rake users:bulk_delete -- -u userfile
Create and Update Options
Option | Description |
---|---|
userfile (required) |
Full path to the CSV file specifying attributes to be applied to individual users. For example:
Faspex sends a welcome email to a user if you provide a welcome email in the entry. You can forgo the welcome email by leaving that column blank. In the example above, Faspex sends a welcome email to user1 and user2, but not to user3. |
propertiesfile (required) |
Full path to the CSV file specifying attributes to be applied to all users. Use this file to determine the type of user. The properties file for adding local members of a directory service follows this format: type,authorization_domain_id DirectoryServiceUser,3 Set the authorization_domain_id to the ID of a configured LDAP. You can obtain the IDby going to Accounts > Diretory Service Groups. selecting the LDAP, and finding the ID in the URL (for example, the 3 in aspera/faspex/admin/authorization_domains/3/edit) The properties file for adding local users follows this format:
|
Delete Options
Option | Description |
---|---|
userfile (required) |
Full path to the CSV file specifying attributes to be applied to individual users. For example:
|