Is it possible to pull out of office information for different users (not the current user) from MS Exchange 2010 SP2 by consuming EWS through jDeveloper.
Asked
Active
Viewed 305 times
1 Answers
0
Sure, OOF on/off is just a property on the mailbox store.
Assuming you are using the Outlook Object Model, you can access the PR_OOF_STATE MAPI property (DASL name http://schemas.microsoft.com/mapi/proptag/0x661D000B
) using Store.PropertyAccessor.GetProperty.

Dmitry Streblechenko
- 62,942
- 4
- 53
- 78
-
Will this property would be set at the Exchange server level or on each account? – Rajiv Dec 19 '13 at 17:29
-
I am not sure I understand - the property is set on each mailbox. You can see it in OutlookSpy (click IMsgStore button). – Dmitry Streblechenko Dec 19 '13 at 17:52
-
Basically i want to pull ooo info programmatically of different users. Not sure whether this would help to pull this info for other users or not. – Rajiv Dec 19 '13 at 18:04
-
Where is your code running? Are you using Outlook Object Model or EWS? – Dmitry Streblechenko Dec 19 '13 at 18:38
-
Yes, you should be able to access OOF settings through EWS - use GetUserOofSettingsRequest request. – Dmitry Streblechenko Dec 19 '13 at 21:19
-
I am using a java program to consume the webservice but while consuming the service it is asking for user name and password repeatedly. Any idea what authentication mechanism is it expecting NTLM or kerberos? Do you have any working sample code? – Rajiv Dec 20 '13 at 14:34