User synchronization between CWIS and a Drupal instance requires both
this CWIS plugin and a companion plugin on the Drupal side. The CWIS
plugin needs to be enabled first, so that it can create DB tables that
both plugins use.  Once enabled, the CWIS plugin needs no additional
configuration.

Create a folder called cwis_user in the 'sites/all/modules' subfolder
of your drupal installation.  Copy the 'sync_common.php' file from
this folder into it.  If you're using Drupal 6, copy the contents of
D6_cwis_user from this folder into your cwis_user Drupal folder.  If
you're using Drupal 7, instead copy the contents of the D7_cwis_user
folder into your drupal cwis_user folder.

After that, the Drupal plugin needs to be enabled.  Log in to your
drupal site as an administrator. From the main menu (along the left
side of the page in the default Drupal theme), you will need to select
Administer / Site building / Modules.  Then, tick the box next to the
CWIS_User module description and hit 'Save configuration' at the
bottom of the page.

Next, the Drupal plugin needs to be configured.  If you're running D6, go to
the main menu, select Administer / Site configuration / CWIS User.  If you're
running D7, go Configuration, and find 'CWIS User' in the people section of the
page.  You'll then need to enter the CWIS database information.

User synchronization is now enabled.  Newly created users on either
site will be mirrored into the other site.  Logging in to one site
will mirror the login on the other site so that it's not necessary to
log in twice.

Drupal 7 changed the way plugins are notified of user account changes.
In specific, they can no longer read the new plain-text password after
it has been changed.  Because of this, changing your password on the
drupal site will not be reflected on the CWIS site until you've logged
out and back in on the drupal site.
