Quote:

You could do...
Code:

$user.telephonenumber = "(000) 123-"+$oxl.cells($row,4).value
$user.setinfo


The reason it doesn't work in KiX is that for the Put method, you have to put the parameters in parens.

Code:

$user.Put("telephoneNumber", "(000) 123-"+$oxl.cells($row,4).value)
$user.SetInfo






I have the code working fine.. The problem is that I have to use several OUs to get the appropriate users from it..

And.. Right now, I am only querying the information to get the code working. Putting and doing the setinfo is not implemented as of yet.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's