Picture of Christian 84
Registered 13 years 103 days
Christian 84 Friday, 7 July 2017, 02:29 PM
Access Users' Email From PHP Object (SOAP)
Hello,

I'm Using the innoAnyInfo Object (which is given here as sample) to access users' Info, like that:

foreach($poll->user as $ui) {
$ui->cn //get users Long Name
$ui->h323 //get users Name
}

Now I can reach anything inside the object except the Users' Emails, I printed all the objects I didn't see any property or variable storing the email info.


How could we get it?

Any tip or help is greatly appreciated, Thanks in Advance
Picture of Christoph Künkel (innovaphone)
Moderator Registered 15 years 190 days
Christoph Künkel (innovaphone) Friday, 7 July 2017, 03:24 PM
Re: Access Users' Email From PHP Object (SOAP)
You wil have the array string email[] in the UserInfo record. This might be empty cause the boolean h323emailis set if the email is inferred from the string h323 attribute.

Documented in fish-help.png Concept SOAP API.

Does this work for you?
Picture of Christian 84
Registered 13 years 103 days
Christian 84 Monday, 17 July 2017, 02:10 PM
Re: Access Users' Email From PHP Object (SOAP)
Hello,

Thanks for your help, yes it works.
But I wasn't aware that I was using WSDL version 8 which doesn't provide email array.

I Changed to version 10 and i can return emails now.
← You can define your color theme preference here