Username Password
Bookmark and Share

Login script - set user profile data

This login script will set profile data for the user logging in. This script is called by the runOnLogin configuration setting. For example, you can use this script to set the user alias on login.

  1. Copy the script to /data/WebGUI/sbin
  2. Add the following line to your config file:

 /data/WebGUI/sbin/ --configFile=dev.localhost.localdomain.conf --user=^FormParam(username); --param 'alias'=^FormParam(alias);

    3. Alter the login template to include a new field:

    <td class="formDescription" valign="top">Alias</td>
 <td><input id="alias_formId" name="alias" value="" size="8" maxlength="255" type="text" /></td>

You can alter multiple user profile fields by using multiple param options.


Happy Hacking!

Knowmad Technologies

System Requirements

Developed for WebGUI 7.4

2arjan: "
Hi William,

For what purpose do you use this youself?

Kind regards,

2knowmad: "
Hi Arjan,

We needed this to allow a client who runs a call center to change the phone extension when a user logs in rather than having the user go to preferences everytime and change it. They are a large center and employees do not sit at the same extension from day-to-day.

This information is then used to populate the InOutBoard. This has been a useful solution for them.



Knowmad Technologies
DownloaddoLogin_pl.txt doLogin_pl.txt
LinksKnowmad Technologies
No Support Offered
Statistics Downloads: 946
Views: 5495
Rating: 2
Updated: 9/5/2008
Keywords miscellaneous utility
NavigationMore from Knowmad Technologies
Back to the Bazaar
© 2023 Plain Black Corporation | All Rights Reserved