Skip Navigation LinksALVAO 8.2ALVAO Service DeskSystem Implementation in an OrganizationUser ManagementUser PortraitsImporting User Portraits from Files Skip Navigation Links. Skip Navigation Links Skip Navigation Links.


Importing User Portraits from Files

User Portrait Folder

  1. On your server, create a folder for user portraits, e.g. under "C:\ProgramData\ALVAO\Portraits".
  2. In this folder, create a sub-folder for each network domain that you are using. The sub-folder name needs to match the domain name in the user's username. For example, for a user with the username "company.local\user1" create a folder called "C:\ProgramData\ALVAO\Portraits\company.local".
    Tip:
    You can find the whole username e.g. in ALVAO Admin application in the User List in the "Username" column after you load users from Active Directory.
  3. Save the user portrait image files in the respective subfolder. The portrait files have to meet the following criteria:
    • The file name has to match the Username of the respective user without the domain name.
    • The recommended image size is 133 x 200 px (width x height).
    • Only JPEG (.jpg file extension) format is supported.
    For example, the portrait for the user "company.local\user1" will be saved as "C:\ProgramData\ALVAO\Portraits\company.local\user1.jpg".

Add portraits for other users to this folder.

Regular and Automated Import

Create a scheduled task on the server with periodicity e.g. once per day which will run the following command:

%ProgramFiles%\ALVAO\Admin\ImportPortraitsFiles.exe /server <sql_server> /db <alvao_database> /path "C:\ProgramData\ALVAO\Portraits"

Note:
This task can be optionally created already during the installation of ALVAO Server using the ALVAO Server Setup application.

One-Time Import

  1. In ALVAO Admin application go to the main menu and select File – Load – Load pictures from files.
  2. Specify the path to the folder containing user portraits and click on OK.
  3. This will launch the ImportPortraitsFiles utility including the corresponding parameters which will load user portraits to ALVAO database.

ImportPortraitsFiles Utility

The ImportPortraitsFiles utility loads user portraits from files stored on the hard drive to the ALVAO system.

This utility is a part of the ALVAO Admin installation and is installed in the same folder, i.e. usually in "%ProgramFiles%\ALVAO\Admin".

Command Line Parameters

Parameter Description Required Example
/conn <string>
/server <server>
/db <db>
Database connection settings. Yes /conn "Integrated Security=True;Initial Catalog=ALVAO;Data Source=.\SQLEXPRESS;"
/server .\SQLEXPRESS
/db ALVAO
/path Path to the folder where portraits are stored. Yes /path „C:\ProgramData\ALVAO\Portraits“
/email Files are named by user e-mails.
Note: Files don't have to be separated into subfolders by domain.
No /email
/wait Wait for key press at the end of the import. No /wait

 

Did not find what you were looking for? Ask our technical support team.