Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Wed, 14 Jun 2006 02:33:14 +0100,    group: microsoft.public.exchange2000.development        back       


How to get Store{GUID} for Public Folders by program?   
Hi All!

The Store{GUID} is required to register Public Folders Store Wide Events.
file://./backofficestorage/ADMIN/%userdnsdomain%/Public 
Folders/Non_ipm_subtree/StoreEvents{GUID}/GlobalEvents
How to find StoreEvents {GUID} ? What search will give me StoreEvents GUID?

Kind Regards,
Mike.
date: Wed, 14 Jun 2006 02:33:14 +0100   author:   tester er

Re: How to get Store{GUID} for Public Folders by program?   
With Exoledb there is a special interface IStoreGuidFromURL which you can 
use to do this if you have a look at 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k3_registering_for_mdb_wide_events.asp 
there is a sample of using the StoreGuidFromUrl method.

The other way you get it is to query the CN=Microsoft Exchange System 
Objects container in Active Directory and search though the Systemmailboxes 
untill you find one who's homeMDB matchs the store your looking at.


Cheers
Glen

"tester" <tester@tester.tester> wrote in message 
news:Ohmkjo0jGHA.3816@TK2MSFTNGP02.phx.gbl...
> Hi All!
>
> The Store{GUID} is required to register Public Folders Store Wide Events.
> file://./backofficestorage/ADMIN/%userdnsdomain%/Public 
> Folders/Non_ipm_subtree/StoreEvents{GUID}/GlobalEvents
> How to find StoreEvents {GUID} ? What search will give me StoreEvents 
> GUID?
>
> Kind Regards,
> Mike.
date: Wed, 14 Jun 2006 16:15:56 +1000   author:   Glen Scales [MVP]

Re: How to get Store{GUID} for Public Folders by program?   
Hello Glen!

Please consider the fact that Public Folders has individual folders not inside 
SystemMailbox (it is not mailbox) and it could be temporarily empty for some 
reason (no item inside) to succesive call StoreGuidFormUrl.
The only method I suppose is searching through Active Directory, but I don't 
know which Fields to parse for Public folders StoreEvents GUID. If You give the 
"search query" it could be nice.

Uytkownik Glen Scales [MVP] napisa:
> With Exoledb there is a special interface IStoreGuidFromURL which you can 
> use to do this if you have a look at 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k3_registering_for_mdb_wide_events.asp 
> there is a sample of using the StoreGuidFromUrl method.
> 
> The other way you get it is to query the CN=Microsoft Exchange System 
> Objects container in Active Directory and search though the Systemmailboxes 
> untill you find one who's homeMDB matchs the store your looking at.
> 
> 
> Cheers
> Glen
> 
> "tester" <tester@tester.tester> wrote in message 
> news:Ohmkjo0jGHA.3816@TK2MSFTNGP02.phx.gbl...
> 
>>Hi All!
>>
>>The Store{GUID} is required to register Public Folders Store Wide Events.
>>file://./backofficestorage/ADMIN/%userdnsdomain%/Public 
>>Folders/Non_ipm_subtree/StoreEvents{GUID}/GlobalEvents
>>How to find StoreEvents {GUID} ? What search will give me StoreEvents 
>>GUID?
>>
>>Kind Regards,
>>Mike. 
> 
> 
>
date: Wed, 14 Jun 2006 12:46:14 +0100   author:   tester er

Re: How to get Store{GUID} for Public Folders by program?   
IstoreguidfromURL works on any object in the Public folder store. eg if you 
have a folder called blah under the root of the tree using something like

set igetSG=CreateObject("Exoledb.StoreGuidFromUrl.1")
guid = 
igetSG.StoreGuidFromUrl("file://./backofficestorage/youdomain.com/Public 
Folders/blah")
wscript.echo guid

would return the Guid for the store you can then build the Sytemmailbox path 
from this.This is the best method to use even if you have to create a folder 
first and then check the GUID of the newly created folder.

You could use a AD query such as 
(&(objectCategory=Publicfolder)(CN=StoreEvents{*))  to return all the 
storeevent public folders but if you have more then one public folder store 
in your domain you would then need to test each one to determine where the 
instance of that public folder exists.

Cheers
Glen

"tester" <tester@tester.tester> wrote in message 
news:O03kF$5jGHA.4584@TK2MSFTNGP05.phx.gbl...
> Hello Glen!
>
> Please consider the fact that Public Folders has individual folders not 
> inside SystemMailbox (it is not mailbox) and it could be temporarily empty 
> for some reason (no item inside) to succesive call StoreGuidFormUrl.
> The only method I suppose is searching through Active Directory, but I 
> don't know which Fields to parse for Public folders StoreEvents GUID. If 
> You give the "search query" it could be nice.
>
> Uytkownik Glen Scales [MVP] napisa:
>> With Exoledb there is a special interface IStoreGuidFromURL which you can 
>> use to do this if you have a look at 
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k3_registering_for_mdb_wide_events.asp 
>> there is a sample of using the StoreGuidFromUrl method.
>>
>> The other way you get it is to query the CN=Microsoft Exchange System 
>> Objects container in Active Directory and search though the 
>> Systemmailboxes untill you find one who's homeMDB matchs the store your 
>> looking at.
>>
>>
>> Cheers
>> Glen
>>
>> "tester" <tester@tester.tester> wrote in message 
>> news:Ohmkjo0jGHA.3816@TK2MSFTNGP02.phx.gbl...
>>
>>>Hi All!
>>>
>>>The Store{GUID} is required to register Public Folders Store Wide Events.
>>>file://./backofficestorage/ADMIN/%userdnsdomain%/Public 
>>>Folders/Non_ipm_subtree/StoreEvents{GUID}/GlobalEvents
>>>How to find StoreEvents {GUID} ? What search will give me StoreEvents 
>>>GUID?
>>>
>>>Kind Regards,
>>>Mike.
>>
>>
date: Thu, 15 Jun 2006 10:43:58 +1000   author:   Glen Scales [MVP]

Re: How to get Store{GUID} for Public Folders by program?   
Hello Again!

User Glen Scales [MVP] said:

> IstoreguidfromURL works on any object in the Public folder store. eg if you 
> have a folder called blah under the root of the tree using something like
> 
> set igetSG=CreateObject("Exoledb.StoreGuidFromUrl.1")
> guid = 
> igetSG.StoreGuidFromUrl("file://./backofficestorage/youdomain.com/Public 
> Folders/blah")
> wscript.echo guid
> 
> would return the Guid for the store you can then build the Sytemmailbox path 
> from this.This is the best method to use even if you have to create a folder 
> first and then check the GUID of the newly created folder.
> 
What if we have more than one called "Public Folders" in different Storage 
Groups on the same server or more "Public Folders" in different Public Stores of 
the same Server? The path: file://./backofficestorage/youdomain.com/Public 
Folders doesn't determine which GUID is chosen.

> You could use a AD query such as 
> (&(objectCategory=Publicfolder)(CN=StoreEvents{*))  to return all the 
> storeevent public folders but if you have more then one public folder store 
> in your domain you would then need to test each one to determine where the 
> instance of that public folder exists.
> 
> Cheers
> Glen
> 
> "tester" <tester@tester.tester> wrote in message 
> news:O03kF$5jGHA.4584@TK2MSFTNGP05.phx.gbl...
> 
>>Hello Glen!
>>
>>Please consider the fact that Public Folders has individual folders not 
>>inside SystemMailbox (it is not mailbox) and it could be temporarily empty 
>>for some reason (no item inside) to succesive call StoreGuidFormUrl.
>>The only method I suppose is searching through Active Directory, but I 
>>don't know which Fields to parse for Public folders StoreEvents GUID. If 
>>You give the "search query" it could be nice.
>>
>>Uytkownik Glen Scales [MVP] napisa:
>>
>>>With Exoledb there is a special interface IStoreGuidFromURL which you can 
>>>use to do this if you have a look at 
>>>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k3_registering_for_mdb_wide_events.asp 
>>>there is a sample of using the StoreGuidFromUrl method.
>>>
>>>The other way you get it is to query the CN=Microsoft Exchange System 
>>>Objects container in Active Directory and search though the 
>>>Systemmailboxes untill you find one who's homeMDB matchs the store your 
>>>looking at.
>>>
>>>
>>>Cheers
>>>Glen
>>>
>>>"tester" <tester@tester.tester> wrote in message 
>>>news:Ohmkjo0jGHA.3816@TK2MSFTNGP02.phx.gbl...
>>>
>>>
>>>>Hi All!
>>>>
>>>>The Store{GUID} is required to register Public Folders Store Wide Events.
>>>>file://./backofficestorage/ADMIN/%userdnsdomain%/Public 
>>>>Folders/Non_ipm_subtree/StoreEvents{GUID}/GlobalEvents
>>>>How to find StoreEvents {GUID} ? What search will give me StoreEvents 
>>>>GUID?
>>>>
>>>>Kind Regards,
>>>>Mike.
>>>
>>>
>
date: Thu, 15 Jun 2006 04:10:34 +0100   author:   tester er

Re: How to get Store{GUID} for Public Folders by program?   
/Public folders/ is the default Mapi public folder tree which there can be 
only one of. If you have other general purpose stores then you use the name 
of the public folder tree to access them as per 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_the_file_url_scheme.asp?frame=true 
so if you have a public folder tree called foo use something like 
file://./backofficestorage/youdomain.com/foo/blah . You can also use the 
http URI if this is easier for you see 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_the_http_url_scheme.asp?frame=true

Cheers
Glen

"tester" <tester@tester.tester> wrote in message 
news:ugpfmDCkGHA.3780@TK2MSFTNGP03.phx.gbl...
> Hello Again!
>
> User Glen Scales [MVP] said:
>
>> IstoreguidfromURL works on any object in the Public folder store. eg if 
>> you have a folder called blah under the root of the tree using something 
>> like
>>
>> set igetSG=CreateObject("Exoledb.StoreGuidFromUrl.1")
>> guid = 
>> igetSG.StoreGuidFromUrl("file://./backofficestorage/youdomain.com/Public 
>> Folders/blah")
>> wscript.echo guid
>>
>> would return the Guid for the store you can then build the Sytemmailbox 
>> path from this.This is the best method to use even if you have to create 
>> a folder first and then check the GUID of the newly created folder.
>>
> What if we have more than one called "Public Folders" in different Storage 
> Groups on the same server or more "Public Folders" in different Public 
> Stores of the same Server? The path: 
> file://./backofficestorage/youdomain.com/Public Folders doesn't determine 
> which GUID is chosen.
>
>> You could use a AD query such as 
>> (&(objectCategory=Publicfolder)(CN=StoreEvents{*))  to return all the 
>> storeevent public folders but if you have more then one public folder 
>> store in your domain you would then need to test each one to determine 
>> where the instance of that public folder exists.
>>
>> Cheers
>> Glen
>>
>> "tester" <tester@tester.tester> wrote in message 
>> news:O03kF$5jGHA.4584@TK2MSFTNGP05.phx.gbl...
>>
>>>Hello Glen!
>>>
>>>Please consider the fact that Public Folders has individual folders not 
>>>inside SystemMailbox (it is not mailbox) and it could be temporarily 
>>>empty for some reason (no item inside) to succesive call 
>>>StoreGuidFormUrl.
>>>The only method I suppose is searching through Active Directory, but I 
>>>don't know which Fields to parse for Public folders StoreEvents GUID. If 
>>>You give the "search query" it could be nice.
>>>
>>>Uytkownik Glen Scales [MVP] napisa:
>>>
>>>>With Exoledb there is a special interface IStoreGuidFromURL which you 
>>>>can use to do this if you have a look at 
>>>>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k3_registering_for_mdb_wide_events.asp 
>>>>there is a sample of using the StoreGuidFromUrl method.
>>>>
>>>>The other way you get it is to query the CN=Microsoft Exchange System 
>>>>Objects container in Active Directory and search though the 
>>>>Systemmailboxes untill you find one who's homeMDB matchs the store your 
>>>>looking at.
>>>>
>>>>
>>>>Cheers
>>>>Glen
>>>>
>>>>"tester" <tester@tester.tester> wrote in message 
>>>>news:Ohmkjo0jGHA.3816@TK2MSFTNGP02.phx.gbl...
>>>>
>>>>
>>>>>Hi All!
>>>>>
>>>>>The Store{GUID} is required to register Public Folders Store Wide 
>>>>>Events.
>>>>>file://./backofficestorage/ADMIN/%userdnsdomain%/Public 
>>>>>Folders/Non_ipm_subtree/StoreEvents{GUID}/GlobalEvents
>>>>>How to find StoreEvents {GUID} ? What search will give me StoreEvents 
>>>>>GUID?
>>>>>
>>>>>Kind Regards,
>>>>>Mike.
>>>>
>>>>
>>
date: Thu, 15 Jun 2006 15:58:59 +1000   author:   Glen Scales [MVP]

Re: How to get Store{GUID} for Public Folders by program?   
Hi Glen!

It is still problem with samples You gave. The application doesn't know how 
other public folder tree are called. AD query search You proposed: 
(&(objectCategory=Publicfolder)(CN=StoreEvents{*))
returns StoreEvents{GUID} for first "Public Folders" tree name ONLY which 
resides in First Storage Group. It doesn't return StoreEvents{GUID} for other 
public folder trees which resides in separate Storage Groups.

My test config on TEST Exchange Server is:
First Storage Group\Public Folder Store -> Public Folders(tree) <= GUID returned OK
Second Storage Group\Public Folder Store -> Public Folders Two(tree) <= GUID not 
returned!!!
Storage Group Three\Public Folders ->Public Folders Three(tree) <= GUID not 
returned!!!

Maybe there is any better query which will find other GUIDs?

User Glen Scales [MVP] said:

> /Public folders/ is the default Mapi public folder tree which there can be 
> only one of. If you have other general purpose stores then you use the name 
> of the public folder tree to access them as per 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_the_file_url_scheme.asp?frame=true 
> so if you have a public folder tree called foo use something like 
> file://./backofficestorage/youdomain.com/foo/blah . You can also use the 
> http URI if this is easier for you see 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_the_http_url_scheme.asp?frame=true
> 
> Cheers
> Glen
> 
> "tester" <tester@tester.tester> wrote in message 
> news:ugpfmDCkGHA.3780@TK2MSFTNGP03.phx.gbl...
> 
>>Hello Again!
>>
>>User Glen Scales [MVP] said:
>>
>>
>>>IstoreguidfromURL works on any object in the Public folder store. eg if 
>>>you have a folder called blah under the root of the tree using something 
>>>like
>>>
>>>set igetSG=CreateObject("Exoledb.StoreGuidFromUrl.1")
>>>guid = 
>>>igetSG.StoreGuidFromUrl("file://./backofficestorage/youdomain.com/Public 
>>>Folders/blah")
>>>wscript.echo guid
>>>
>>>would return the Guid for the store you can then build the Sytemmailbox 
>>>path from this.This is the best method to use even if you have to create 
>>>a folder first and then check the GUID of the newly created folder.
>>>
>>
>>What if we have more than one called "Public Folders" in different Storage 
>>Groups on the same server or more "Public Folders" in different Public 
>>Stores of the same Server? The path: 
>>file://./backofficestorage/youdomain.com/Public Folders doesn't determine 
>>which GUID is chosen.
>>
>>
>>>You could use a AD query such as 
>>>(&(objectCategory=Publicfolder)(CN=StoreEvents{*))  to return all the 
>>>storeevent public folders but if you have more then one public folder 
>>>store in your domain you would then need to test each one to determine 
>>>where the instance of that public folder exists.
>>>
>>>Cheers
>>>Glen
>>>
>>>"tester" <tester@tester.tester> wrote in message 
>>>news:O03kF$5jGHA.4584@TK2MSFTNGP05.phx.gbl...
>>>
>>>
>>>>Hello Glen!
>>>>
>>>>Please consider the fact that Public Folders has individual folders not 
>>>>inside SystemMailbox (it is not mailbox) and it could be temporarily 
>>>>empty for some reason (no item inside) to succesive call 
>>>>StoreGuidFormUrl.
>>>>The only method I suppose is searching through Active Directory, but I 
>>>>don't know which Fields to parse for Public folders StoreEvents GUID. If 
>>>>You give the "search query" it could be nice.
>>>>
>>>>Uytkownik Glen Scales [MVP] napisa:
>>>>
>>>>
>>>>>With Exoledb there is a special interface IStoreGuidFromURL which you 
>>>>>can use to do this if you have a look at 
>>>>>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k3_registering_for_mdb_wide_events.asp 
>>>>>there is a sample of using the StoreGuidFromUrl method.
>>>>>
>>>>>The other way you get it is to query the CN=Microsoft Exchange System 
>>>>>Objects container in Active Directory and search though the 
>>>>>Systemmailboxes untill you find one who's homeMDB matchs the store your 
>>>>>looking at.
>>>>>
>>>>>
>>>>>Cheers
>>>>>Glen
>>>>>
>>>>>"tester" <tester@tester.tester> wrote in message 
>>>>>news:Ohmkjo0jGHA.3816@TK2MSFTNGP02.phx.gbl...
>>>>>
>>>>>
>>>>>
>>>>>>Hi All!
>>>>>>
>>>>>>The Store{GUID} is required to register Public Folders Store Wide 
>>>>>>Events.
>>>>>>file://./backofficestorage/ADMIN/%userdnsdomain%/Public 
>>>>>>Folders/Non_ipm_subtree/StoreEvents{GUID}/GlobalEvents
>>>>>>How to find StoreEvents {GUID} ? What search will give me StoreEvents 
>>>>>>GUID?
>>>>>>
>>>>>>Kind Regards,
>>>>>>Mike.
>>>>>
>>>>>
> 
>
date: Fri, 16 Jun 2006 02:20:22 +0100   author:   tester er

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us