IMPAX 6.5.1 Client Knowledge Base: Extended > Administering IMPAX > Managing roles and users > Defining preferences for roles and users
On Windows 2003Application Servers, you can export preferences from a user or role profile in an Application Server ADAM instance and import these preferences into another role or user in the same or another ADAM instance on Windows Server 2003. On Windows 2008 Application Servers, you can export preferences from a user or role profile in an Application Server AD LDS instance and import these preferences into another role or user in the same or another AD LDS instance..
To export preferences from a user or role and import to another user or role
In the IMPAX Client, define any preferences required.
To extract the preferences to the import_preferences.ldf file, on the Application Server open a command prompt and navigate to the Program Files\Agfa\Impax Business Services\ImpaxAdam\migrate\CopyPreferences directory.
Run the command:
export_preferences.cmd ADAM_server user/role_profile_DN
Use the full distinguished names of the user or role profile name. If the name contains any embedded spaces, surround it in quotation marks. For example:
export_preferences.cmd app.server1.hospital.org "CN=Dennis Swan, CN=Profiles, CN=User, CN=Agfa, CN=healthcare.org, DC=agfa, DC=com"
This example exports the preferences from the CN=Dennis Swan, CN=Profiles, CN=User, CD=Agfa, CN=healthcare, DC=agfa, DC=com user profile object and places them in the import_preferences.ldf file.
The export_preferences.cmd file reports "1 entries exported" if the user profile was found.
If the local machine cannot communicate using LDAP to the target ADAM/AD LDS instance, copy the import_preferences.ldf file to the new Application Server.
![]() | Note: If the target machine does not already have these tools, copy the entire Program Files\Agfa\Impax Business Services\ImpaxAdam\migrate\CopyPreferences directory. |
To add the preferences into the new ADAM/AD LDS instance, on the new Application Server, run:
import_preferences.cmd new_ADAM/AD LDS_server new_user/role_profile_DN
For example:
import_preferences.cmd app.server2.hospital.org CN=Activities, CN=Roles, CN=User, CN=Agfa, CN=healthcare, dc=Agfa, dc=com
The extracted preferences are added to the target profile.
![]() | Note: If any preferences groups exist on the target profile but were not set on the source profile, they are not affected. To make the target's profile preferences groups mirror the source preferences groups, you can remove them by adding the optional "/clean" switch before the ADAM/AD LDS server parameter; for example, import_preferences.cmd /clean app.server2.hospital.org CN=Activities, CN=Roles, CN=User, CN=Agfa, CN=healthcare, dc=Agfa, dc=com. |
Topic number: 58225 Applies to: IMPAX 6.5.1 Client Knowledge Base |