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: Mon, 22 Oct 2007 07:55:25 -0000,    group: microsoft.public.exchange2000.development        back       


CDOEX/ADO query across administrative groups fails   
Hello,

In my application I'm using the following code to query mailbox
calendar:

    Dim cnxEx As New ADODB.Connection, rsEx As New ADODB.Recordset
    Dim strQuery As String = _
      "SELECT ""DAV:href"" " & _
      "FROM Scope('SHALLOW TRAVERSAL OF """ & CalendarUrl & """')"
    cnxEx.Provider = "MSDAIPP.DSO.1"
    cnxEx.CursorLocation = ADODB.CursorLocationEnum.adUseClient
    cnxEx.Open(MailboxUrl)
    rsEx.Open(strQuery, cnxEx, ADODB.CursorTypeEnum.adOpenStatic,
ADODB.LockTypeEnum.adLockReadOnly)

This works fine for users that have delegate permission on the
calendar being queried if they are in the same administrative group.
If the mailbox is in a different administrative group then an
authentication window pops up when the connection is being opened and
the authentication fails even if the user enters his name & password.
Any ideas?

TIA
date: Mon, 22 Oct 2007 07:55:25 -0000   author:   unknown

Google
 
Web ureader.com


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