At line 4 changed one line |
The CSV file is basically a data structure with rows, on each row an entity separated by comma (,) that will form the "column". A user account needs at least 3 or 4 columns, user name, password, VFS directory path and permissions. If this altter is ommitted, we use the default read only permission set, as defined on Preferences->Misc page "Default privs for new VFS items in User Manager:" field.\\ |
The CSV file is basically a data structure with lines of text named "rows", on each row an entity separated by comma (,) that will form together with the rest of the lines the "column". A user account needs at least 3 or 4 columns, user name, password, VFS directory path and permissions. If this latter is ommitted, we'll use the default read only permission set, as defined on __[Preferences->Misc|Misc]__ page __"Default privs for new VFS items in User Manager:"__ field.\\ |
At line 14 changed one line |
Then in User Manager upper left corner area "Menu" tool set , choose "Import users", browse for the CSV file, map the columns as User Name, Password, Home Folder, Permissions. Pretty much any user parameter except the IP restrictions can be mapped from CSV.\\ |
To map multiple VFS directories to one user, need to have the user on multiple rows, each with different home folder path and permissions.\\ |
At line 16 changed one line |
[{Image src='csv_import_1.jpg' width='1200' height='..' align='left' style='..' class='..' }] |
Then in User Manager upper left corner area "Menu" tool set , choose "Import users", browse for the CSV file, map the columns as __User Name__, __Password__, __Home Folder__, __Permissions__. Pretty much any user parameter except events, custom CSS and Javascript and the IP restrictions block can be mapped from CSV.\\ |
At line 18 changed one line |
[{Image src='csv_import_2.jpg' width='1200' height='..' align='left' style='..' class='..' }] |
[{Image src='csv_import_1.jpg' width='1260' height='..' align='left' style='..' class='..' }] |
At line 20 changed one line |
|
[{Image src='csv_import_2.jpg' width='1260' height='..' align='left' style='..' class='..' }] |
\\ |
To automatically map column names from the first line, need to know the exact user attribute names accepted. The first 9 recognized automatically by the GUI are: |
\\ |
%%prettify |
{{{ |
user_name,password,home_folder,permissions,userGroup,email,first_name,last_name,notes,salt |
}}} |
/% |
\\ |
All user attributes can be mapped this way, the rest of these are undocumented, are to be reverse engineered from __user.XML__ |
\\ |