Outlook 2007 / MS Exchange 2003 - 全域強制指定一組資料夾

Outlook 2007 / MS Exchange 2003 - 全域強制指定一組資料夾

我們有 150 個客戶端連接到 Exchange 2003 伺服器。我試圖強制每個 Outlook 2007 用戶端都有一組特定的資料夾,而且使用者無法刪除這些資料夾。

我試圖找到與此相關的任何群組策略設置,但似乎沒有一個相關。谷歌沒有發現任何關於此事的資訊。

難道這根本不可能嗎?有人對此有想法或經驗嗎?

答案1

它稱為託管資料夾,在 Exchange 2007 中引入,並在 Exchange 2010 中被棄用,取而代之的是保留標記,儘管它仍然存在。不確定 2013/365/2016。

Exchange 2003 中沒有本機選項。

答案2

您只能在 Exchange 2003 下使用 CDO/MAPI。如何:使用 CDO 1.21 和 ACL.dll 設定資料夾等級權限

它工作得好嗎,不知道(但它來自 microsot 的博客,由微軟員工撰寫)

編輯:建立資料夾,CDO 範例:https://msdn.microsoft.com/en-us/library/ms878​​640(v=exchg.65).aspx

The following examples show how to create a folder in the Exchange store. The function in each example performs the following steps:
The function attempts to create a folder at this URL. If an error occurs, the function fails.
If the function is successful, it sets the new folder's contentclass Field to the value "urn:content-classes:folder".
The function returns a reference to the Record object that is bound to the new folder.
VBScript
If WScript.Arguments.Count < 1 Then
 WScript.Echo "Usage: cscript createfolder.wsf URL [content class]"
 WScript.Quit
End If

Dim sUrl
Dim sContentClass

' Note: It is recommended that all input parameters be validated when they are
' first obtained from the user or user interface.
sUrl = WScript.Arguments(0)
sContentClass = WScript.Arguments(1)

Dim Rec
Wscript.Echo "Creating folder at URL: " & sUrl
Set Rec = CreateFolder(sUrl, sContentClass, Nothing)
Wscript.Echo "Succeeded."

Function CreateFolder( sUrl, sContentClass, Conn )

 Dim Rec
 Set Rec    = CreateObject("ADODB.Record")

 ' Did caller pass a Connection object reference?
 If Not ( VarType(Conn) = vbObject AND TypeName(Conn) = "Connection" ) Then
   Set Conn = CreateObject("ADODB.Connection")
   Conn.Provider = "ExOLEDB.DataSource"
   Conn.Open sUrl
 End If

 If sContentClass = "" Then
  sContentClass = "urn:content-classes:folder" ' The Default is urn:content-classes:folder.
 End If

 ' Try to create the folder

 Rec.Open sUrl, Conn, adModeReadWrite, adCreateCollection
 Rec.Fields("DAV:contentclass") = sContentClass
 Rec.Fields.Update

 Set CreateFolder = Rec

End Function

EWS 可以更改資料夾 ACL,但 Exchange 2003 不支援。您至少需要 Exchange 2007。

Set-MailboxFolderPermission 也可以,但同樣在 2003 年不可用。

一些例子,那裡那裡

相關內容