Information Center

Enabling users to create accounts

If you check the Allow users to create accounts checkbox on the Users/Groups window, you must provide an HTML file through which the accounts can be created. A sample file, NewUser.html, is located in the publish directory. (The default publish directory is ZIEWeb, such as C:\Program Files\HCL\ZIEForWeb\ZIEWeb or /usr/local/zieforweb/ZIEWeb). You can use the sample file or create customized versions of it as described below.

Accounts created in this way allow the new user to change password and save preferences.

When the HTML file is loaded, a Create User Account window appears. The user must fill in the information and click Apply to create each account.

To customize NewUser.html:

  1. Open the file in a text editor.
  2. Change or add to the value for the Groups parameter as necessary; you can include multiple groups, separated by a comma. The value must be enclosed in double quotes.
    If you are using LDAP, you cannot specify multiple groups.
  3. Save the file with any name you choose.

You can create as many different files as you like, so that users can create accounts in different groups.

NewUser.html is similar to the following:

<APPLET  archive=hodusd.jar CODE="com.ibm.eNetwork.HODUtil.services.config.client.NewUser.class" WIDTH=454 HEIGHT=250>
<PARAM NAME=CABBASE      VALUE=hodusd.cab>
<PARAM NAME="Groups"     VALUE="HOD">

A customized file is similar to the following:

<APPLET  archive=hodusd.jar CODE="com.ibm.eNetwork.HODUtil.services.config.client.NewUser.class" WIDTH=454 HEIGHT=250>
<PARAM NAME=CABBASE      VALUE=hodusd.cab>
<PARAM NAME="Groups"     VALUE="HOD, Sales">
This function allows a user who knows the URL to create any number of user accounts, so you might want to control its use carefully.