The easiest way...

Code:

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



You can find some other examples at - http://cwashington.netreach.net/depo/default.asp?topic=adsifaq

HTH,

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