Calendar access rights Exchange 2010 SP1

Friday, January 14, 2011
By Edwin

 

If you want to view or set Calendar / Agenda acces rights in Microsoft Exchange 2010 SP1 you can do this very easy with powershell.

To view the access rights on a users calendar run the following command.

Get-MailboxFolderPermission –Identity **username@organisation.com**:\Agenda (or Calendar dependng on your language settings)

To set access rights for a specific user on another users Calendar run the following command.

Set-MailboxFolderPermission -Identity **username@organisation.com**:\Agenda -AccessRights
Owner –User **Alias** –Confirm
(or Calendar dependng on your language settings)

You can specify the parameter –AccessRights for the correct level of authentication.

  • ReadItems   The user has the right to read items within the specified folder.
  • CreateItems   The user has the right to create items within the specified folder.
  • EditOwnedItems   The user has the right to edit the items that the user owns in the specified folder.
  • DeleteOwnedItems   The user has the right to delete items that the user owns in the specified folder.
  • EditAllItems   The user has the right to edit all items in the specified folder.
  • DeleteAllItems   The user has the right to delete all items in the specified folder.
  • CreateSubfolders   The user has the right to create subfolders in the specified folder.
  • FolderOwner   The user is the owner of the specified folder. The user has the right to view and move the folder and create subfolders. The user can’t read items, edit items, delete items, or create items.
  • FolderContact   The user is the contact for the specified public folder.
  • FolderVisible   The user can view the specified folder, but can’t read or edit items within the specified public folder.

The AccessRights parameter also specifies the permissions for the user with the following roles, which are a combination of the rights listed previously:

  • None   FolderVisible
  • Owner   CreateItems, ReadItems, CreateSubfolders, FolderOwner, FolderContact, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
  • PublishingEditor   CreateItems, ReadItems, CreateSubfolders, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
  • Editor   CreateItems, ReadItems, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
  • PublishingAuthor   CreateItems, ReadItems, CreateSubfolders, FolderVisible, EditOwnedItems, DeleteOwnedItems
  • Author   CreateItems, ReadItems, FolderVisible, EditOwnedItems, DeleteOwnedItems
  • NonEditingAuthor   CreateItems, ReadItems, FolderVisible
  • Reviewer   ReadItems, FolderVisible
  • Contributor   CreateItems, FolderVisible

The following roles apply specifically to calendar folders:

  • AvailabilityOnly   View only availability data
  • LimitedDetails   View availability data with subject and location

For more information goto http://technet.microsoft.com/en-us/library/dd298062(EXCHG.140).aspx

Tags: , , , ,

2 Responses to “Calendar access rights Exchange 2010 SP1”

  1. Matt Guthrie

    How do you do this for all mailbox’s? not just one user?

    #2158
  2. Dear Matt,
    See example below

    $allmailbox=get-mailbox
    Foreach ($item in $allmailbox){Set-mailboxfolderpermission –identity ($item.alias+’:\calendar’) –user Default – Accessrights AvailabilityOnly}

    #2160

Leave a Reply

Archives

Twitter

    Adverts