Hello all,
I am having a little problem with return types from a COM object. Basically
(code follows) I get a collection back from the object and I can not figure
out a way to iterate through this collection. Posted is a snippet of test
code that I hope one of you can help me with.
<?php
echo "Starting\n";
$system = new COM("ADSystemInfo") or die("failed to get system info");
$usr = new COM("WinNT://$system->DomainDNSName/USERID,user") or
die("failed on usr");
$groups = $usr->Groups() or die("fail");
//Groups should be a collection of objects that I can iterate through, but
for
//of me I can't figure out how.
//iteration through group should be here.
?>
If someone could point me to some relevent documentation about this It
would be great.
Thanks,
Eric
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php