Can't test now cause no AD available at home.
This could get you started.
http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Board=UBB13&Number=133801

Quote:


Code:

$GroupObj=GetObject("WinNT://"+ @ldomain + "/Domain Users")
For Each $UserObj in $GroupObj.Members
?$UserObj.Name
?$UserObj.FullName
Next







As far as I can see just change the name or fullname to the field you require.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.