I'm not sure what the original poster means. Does he want to give a pw to a function/udf (like somefunction($pw, $otherstuff) or something like it) or run a function with a different pw then the one used by the currently logged in user. Some posts just have to little or to cryptic information.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.