javascript  Get User Lync Presence is not working with IE11

Kamal Khaleefa
Kamal Khaleefa used Ask the Experts™
Im not able to get the Lync presence for a users on IE11.

The below is the  most important part of the code which is not working :

var nameCtrl = new ActiveXObject('Name.NameCtrl.1');

if (nameCtrl.PresenceEnabled)

	nameCtrl.OnStatusChange = onStatusChange;
	nameCtrl.GetStatus(sipUri, "1");

Open in new window

The nameCtrl.PresenceEnabled is always returning false result on IE11 but its working fine on the oldest versions
I tried to search on this issue on the net but I couldn't find any result

Any one can help me please?.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Top Expert 2008
I wonder if a different direction would be a good approach, rather than using outdated COM objects, like the Lync SDK?

Lync 2013: Use the Lync 2013 Model API to retrieve and publish presence
Mai Ali (MVP)Senior Infrastructure Consultant
For Lync Presence on IE, you can check below link
Kamal KhaleefaInformation Security Specialist



Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial