I have a program written in Java that uses the Exchange Web Services (EWS) API to create appointments on users' calendars via impersonation. Now I want to create Lync meetings instead.

I thought I could just set the IsOnlineMeeting property to true and be done with it, but apparently this property is useless.

The next idea I had was to use the UCMA, but it seems like you can't call UCMA from Java.

I am looking into using UCWA, but it sounds like it doesn't support impersonation.

有帮助吗?

解决方案 2

There is a Lync (UCWA) API to do this at http://msdn.microsoft.com/en-us/library/office/dn356790(v=office.15).aspx

This API does not support impersonation, so if you want to create a Lync meeting on behalf of another user, your application will need to somehow get the user's credentials to sign in and get an OAuth token. Once you have a token, you can call the API to get a JoinUrl.

If desired you can then place the JoinUrl for the meeting in the body of a calendar appointment you make with the EWS API.

其他提示

Each user has a unique Lync meeting URL. Since UCWA doesn't support impersonation, your application will need to somehow get the user's credentials to sign in and get an OAuth token. Once you have that, you can call Lync to get the JoinUrl (same link as Richard). Once you have that JoinUrl, you can place that in the body of an appointment you make with EWS.

You could call an external program using Runtime.exec().

i've an experimental java api which can communicate with Lync 2013 UCWA. Here is the github page

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top