пятница, 31 января 2014 г.

понедельник, 27 января 2014 г.

How to centrally set the calendar access rights in Exchange 2010

 

by Thomas Forsmark Sørensen 2. June 2010 02:34

In exchange 2003 or Exchange 2007 you had to use PFADMIN to centrally set the rights on the users calendars, or you had to open every mailbox and set the rights on the calendar.

(Setting the user rights on the calendar is the same as what is happening when you share a calender from Outlook. It will then add the rights for the user to the calendar).

PFADMIN is not supported on Exchange 2010 because Exchange 2010 does not support WebDAV. (a replacement for PFADMIN can be found here that will support Exchange 2007 and Exchange 2010)

Starting with Exchange 2010 the calendar rights can be set centrally "out of the box". This can be done with the "Add-MailboxFolderPermission" cmdlet. 

The actual permissions for a calendar can be viewed using the "Get-MailboxFolderPermission" command, and permissions can be removed using the "Remove-MailboxFolderPermission" command.

Examples

The following command will give everybody read rights to the calender in the "MeetingRoom" calendar.

Add-MailboxFolderPermission MeetingRoom@domain.local:\calendar -User Default -AccessRights reviewer

The following command will give the users that are members of the AD group Res-CalendarAdmins read and write access to the calendar. (The AD group must be mail enabled and cannot be hidden from the address book when executing the command).

Add-MailboxFolderPermission MeetingRoom@domain.local:\calendar -User Res-CalendarAdmins -AccessRights editor

The following command will remove access rights for the default user on mailbox

Remove-MailboxFolderPermission MeetingRoom@domain.local:\calendar -User Default -AccessRights editor

The following command will show the actual rights to the calendar for the MeetingRoom.

Get-MailboxFolderPermission MeetingRoom@domain.local:\calendar

и мой примерчик

установить разрешения для всех (пользователь по умолчанию) на просмотр деталей резервирования комнаты

Set-MailboxFolderPermission room3floor@yourdomain.com:\calendar -User Default -AccessRights Reviewer

http://tfs.letsblog.it/post/2010/06/02/How-to-centrally-set-the-calendar-access-rights-in-Exchange-2010.aspx

 

и вот еще полезная ссылка

http://blog.crayon.no/blogs/janegil/archive/2010/09/20/managing-calendar-permissions-in-exchange-server-2010.aspx

ну и эта тоже

 http://technet.microsoft.com/en-us/library/ff522363.aspx

посмотреть права на папку календарь в комнате

Get-MailboxFolderPermission -Identity room1floor@yourdomain.com:\calendar

удалить права пользователя

Remove-MailboxFolderPermission -Identity room1floor@yourdomain.com:\calendar -User youruser@yourdomain.com