Global events can only be registered in the following folders:
For private mailbox stores:
For public folders:
Access Global Schema:
To access the global schema of an application or a public store, use The ##SCHEMAURI## Macro.
Need to check:
Global events can be registered only by an Administrator, a member of Domain Administrators group, or users in the Exchange Administrators role.
It is not enough to be a member of the Administrators group or the Exchange Server group.
To make a user an Exchange Administrator, use the Exchange Administration Delegation Wizard in the Exchange Management console.
The following code demonstrates how to register for a private store-wide event:
'Get the GUID for the registration process
guid = igetSG.StoreGuidFromUrl("file://./backofficestorage/" + Anystoreitem)
'Anystoreitem is just that. Any store item in the store will get you the store url. It might be something like: "theserver.example.com/MBX/user1/inbox"
'Build the registration URL (using "theserver.example.com")
regURL = "file://./backofficestorage/ADMIN/theserver.example.com/MBX/SystemMailbox" & guid & "/StoreEvents/GlobalEvents/my_event"
Return = WshShell.Run ("cscript c:\regevent.vbs add onsyncsave mysink.sink " & regURL & " -m ANY", 4 , TRUE)
- Server-wide events are not supported.
- Global events must be synchronous.
- It is not possible register an asynchronous event globally.