|
|
|
date: Tue, 29 Nov 2005 09:52:36 -0500,
group: microsoft.public.exchange2000.development
back
Re: List public folders where a specific name/id is listed as a contact???
Sorry, I was not very clear on specifically what I was looking for. When I
view the properties of a folder I do not have rights to other than as a
member of Default or Anonymous then under the Summary tab it displays names
as Folder Contacts. In folders I have rights to I see names under the
Permissions tab with Role assignments.
I assume that names are referenced from the same location and are not two
different sets of properties for the folder?
I am not familiar with the data structures for the exchange server so am not
clear on the proper terms to use and simply viewing from within Outlook can
make things unclear. :)
I have been trying the script you created but without success so far. I get
access denied errors trying to run the script and I suspect that
authentication is required. Do you know what the syntax would be to pass
ID/Password to the server from your script? Do you think that may be the
issue? It is the generic error code 80070005 Source: msxml3.dll.
I am executing the vbs code from my PC, not on the server which I do not
have direct access to.
It sounds as if your script will report the information I am looking for but
I assume it only goes after the folder name specified in the folderurl
variable?
Can you point me toward a script that would crawl through all folders and
return their names/paths starting at a specified level?
I do not know enough about exchange to know where to start and suspect that
reading up on the subject may take a good deal longer to do than I have
available right now. I can understand the scripts well enough though and
modify them to suit my need. If I can come up with a script that returns
each folder name/path I can wrap your code in a function and call it from
the folder crawling code to build a list of all sub-folders and folder
contacts for that folder. I am not too concerned about individual rights as
I am only really looking to identify the existance of a single user ID in a
folder. I can parse out the information later.
Our exchange server is 2000, I am working from a Windows 2000 PC. The web
access server is outside of our firewall which is why I believe I am having
authentication problems. I am searching now to see if we have an internal
server I can access, I know they used to exist but have been unable to find
a server name as of yet.
Thanks for the info, I will play around with the script to see if I can get
it to work.
One more question, if I can get this script working here, will it return all
folder names even if I do not have folder visible rights to see them in
Outlook? Or will I have to get the script working as best I can and then
give it over to someone with higher rights to get a complete list?
Thanks again.
Trent
"Glen Scales [MVP]" wrote in message
news:e2nmItW9FHA.252@TK2MSFTNGP15.phx.gbl...
> There are three ways I could think you could go about this. The first is
to
> use PFdavadmin to export the permissions on all the folders to a file and
> then just parse though the file to look for that user ID (use
Tools-Export)
>
> Write a script that crawled the public folders either using CDO 1.2 and
the
> ACL dll to enumerate the DACL on Each folder and check the ACE's or use
> WebDAV and the http://schemas.microsoft.com/exchange/security namespace to
> do the same thing I've kind of done something a little simular here
>
http://gsexdev.blogspot.com/2005/11/displaying-public-folders-creator-and.ht
ml .
> Remember folder contact and folder owner are two separate permissions
>
> You might also what to look at a third party app like
> http://www.symprex.com/products/fpm/
>
> Cheers
> Glen
>
> "Trent" wrote in message
> news:ewnMLNP9FHA.648@TK2MSFTNGP12.phx.gbl...
> > Hi All,
> > We have an employee that moved to another division of the company.
> > He has access to a great number of public folders under our groups sub
> > folder and is listed as Owner of many of them.
> > We have been trying to identify which folders he still has access to so
> > that
> > his name can be removed from them and which ones he is owner of so that
> > ownership can be set to someone else.
> >
> > Is there a way to iterate through the public folders looking for a
> > specific
> > ID and returning the name of the folder so we have a list to work from?
> > We have better than a thousand public folders to look through and any
> > given
> > person that might be involved may not be able to see those folders.
> > Our security folks will have to make the changes but they will not look
> > through all of these folders/sub-folders manually to see if a name
happens
> > to exist in them and then they would need a new name in each specific
> > instance to assign as owner where appropriate.
> >
> > If it is possible to automate generating the list then the person with
> > rights to all of the folders can generate the list, we mark up which
> > folders
> > need changing and then they can make specific changes. Our security
group
> > is not aware of a method to do this on the exchange server.
> > Any chance someone has a bit of code to do something similar that I can
> > work
> > with?
> >
> > Thanks.
> > Trent
> >
> >
>
>
date: Wed, 30 Nov 2005 08:11:40 -0500
author: Trent
|
|