Hi Sergie,i have used the following script to determine what properties are available, remember that there are always some default properties/methods that are not listed in this way, they can be found in the sdk documentation.
code:
$usr = GETOBJECT("WinNT://$user",user)
if @error = 0
$rc = $usr.getinfo
$propcount = $usr.propertycount
? "number of properties found: " + $propcount$property = $usr.next()
while @error = 0 AND $property <> ""
? "Property name :" + $property.name
? "property type :" + $property.adstype
for each $propval in $property.values
$value = $propval
if $property.adstype = 3
? "with the value :" + $value.caseignorestring
endif
if $property.adstype = 7
? "with the value :" + $value.integer
endif
if $property.adstype = 8
? "with the value :" + $value.octetstring
endif
next
$property = $usr.next
loop
should work on most objects
_________________________
rgrds,
Maarten