A regular user does not have the privileges to change details in AD so if you want them to set their phone number for example they need to get the correct permissions to do this even if it is their own account.
The UDF comes ready for use. The script calling it should pass any required info to the UDF for processing using at least the required UDF parameters.

Example:
 Code:
ADSIUserInfo("User", "Attribute", "Value")


Do not forget to include the UDF code.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.