none
EWS API - Create calendar and share with reviewer permissions RRS feed

  • Question

  • I'm having some trouble on creating and share a calendar with review permissions using Exchange Webservice API .NET.

    At the moment this is my code:

    Folder addCalendar = new Folder(service);
    addCalendar.DisplayName = name;
    addCalendar.FolderClass = "IPF.Appointment";
    
    var perm = new FolderPermission(new UserId("reviewer@test.com"),
                                FolderPermissionLevel.Reviewer);
    
    addCalendar.Permissions.Add(perm);
    addCalendar.Save(WellKnownFolderName.MsgFolderRoot);

    The calendar is created, in my account I can see the calendar and the user 'reviewer@test.com' has the correct permissions.

    The problem in this code is: The calendar doesn't show at the reviewer's account.

    Thursday, September 22, 2011 9:21 AM

All replies