Exchange Server Share

June 4, 2008

Curious to see where Free/Busy permission stored in Mailbox..!!

Filed under: Exchange,Exchange 2007 — Amit Tank @ 5:47 pm
Tags: , , ,

Some basic information of Free/Busy in Exchange 2007…

Autodiscover service helps Outlook 2007 to locate various Web services, like Availability services, Unified Messaging, Offline Address Book and Availability service retrieves the Free/Busy information for Outlook 2007 / OWA 2007.

The Availability service is part of the Exchange 2007 programming interface and available as a public Web service which allows developers to built custom tools as per requirement so in other way it allows to access mailbox contents via HTTP.

New Free/Busy Permission in Outlook 2007

We can see some new calendar rights in Outlook 2007 which allows users to see limited or full Free/Busy details. These permissions are stored in user’s mailbox.

None
Free/Busy time
Free/Busy time, subject, location
Full Detail (This is “Reviewer” permission)

image

Now let’s see where Free/Busy permission stored….!!!

Open the mailbox of Ex Admin account in MFCMapi on a machine where Outlook 2007 installed and configured with profile.

Go to the Root Container -> Top of Information Store -> Calendar.

In right hand side property list you can see a new security descriptor property PR_FREEBUSY_NT_SECURITY_DESCRIPTOR and Free/Busy permission stored as a value of this property.

image

Right Click on PR_FREEBUSY_NT_SECURITY_DESCRIPTOR and click on Display property as a Security Descriptor Prop Sheet…

image 

Here,

Simple FreeBusy = Free/Busy time

Detailed FreeBusy = Free/Busy time, subject, location

In Outlook we can see that by default Free/Busy time permission is set for “Default”.

You can see here Everyone (which is Default in outlook) is set to Allow - Simple FreeBusy so everybody in the organization can see the free/busy time of anybody.

image

Secondly in outlook we can see that by default None permission is set for “Anonymous”.

You can see here ANONYMOUS LOGON (which is Anonymous in outlook) is set to Deny – Simple FreeBusy & Detailed FreeBusy so unauthenticated users can not see free/busy information.

image

Now lets access it in another way which gives us raw value and it is understandable by MAPI developer.

Right Click on PR_FREEBUSY_NT_SECURITY_DESCRIPTOR and click on Parse Property as Structure.

image

& pick the Security Descriptor structure to interpret.

image

You can see the value of this property in Security Descriptor structure.

image

Here..

frightsFreeBusySimple = Free/Busy time

frightsFreeBusyDetailed = Free/Busy time, subject, location

Thanks to Stephen Griffin who shared this information with us and also explained how to access/change it programmatically.

Note: Incorrect use of MFCMapi may give very bad result and mailbox may be inaccessible so take care while using it.

========================================================

Technorati Tags: Exchange,Exchange 2007,Free/Busy

del.icio.us Tags: Exchange,Exchange 2007,Free/Busy

IceRocket Tags: Exchange,Exchange 2007,Free/Busy

About these ads

4 Comments

  1. Thanks for the info – I am troubleshooting an issue with viewing someone’s free/busy details. However, in mfcmapi, I do not see the PR_FREEBUSY_NT_SECURITY_DESCRIPTOR in the calendar. Is there a different version of mfcmapi? Or do you need to do something different to view that specific property?

    Comment by Robyn — June 23, 2008 @ 2:53 pm

  2. Hi Robyn,

    I hope you are checking Free/Busy security descriptor for Exchange 2007 mailbox. This new free/busy permissions are for Exchange & Outlook 2007 only.

    You can download new version of MFCMapi from here –
    http://www.codeplex.com/MFCMAPI/Release/ProjectReleases.aspx?ReleaseId=14442

    Comment by Amit Tank — June 23, 2008 @ 3:35 pm

  3. Thank you Amit. Yes, I am using Outlook 2007 with an Exchange 2007 mailbox. Under calendar, I see PR_FOLDER_TYPE, and below that I see PR_HAS_RULES, but I do not see PR_FREEBUSY_NT_SECURITY_DESCRIPTOR. I asked a colleague at another company to check this same thing in his environment, and he does not have the PR_FREEBUSY_NT_SECURITY_DESCRIPTOR property listed there either. Do I need to change the view? I am using the latest version of MFCMAPI.

    Comment by Robyn — June 23, 2008 @ 7:55 pm

  4. Check on another mailbox/database/server. Remove the cache mode from outlook if selected. I have doubt if some free/busy issue has and due to that it doesn’t show this permissions.

    Comment by Amit Tank — June 24, 2008 @ 9:12 am


RSS feed for comments on this post.

The Rubric Theme Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 29 other followers

%d bloggers like this: