Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Applications / October 2005

Tip: Looking for answers? Try searching our database.

Problem in Free busy intormation of a Attendees

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
girdhar - 14 Oct 2005 13:01 GMT
hi,
My requiredment is that invite some attendees from GAL for a meeting ,before
it i want to check whether at that time all the attendees are free or not .
For this i have writen a code and check for freebusy , but i am facing a
problem , the freebusy function always return empty. Please help me. please
tell me whether required some Exchange settings or there is some error in my
code.
please help

'***********my code for Freebusy is as below

Function GetFreeBusyString(strUserUPN As String, dtStartDate As Date,
dtEndDate As Date, Interval As Integer) As String

   Dim iAddr As New CDO.Addressee
   Dim freebusy As String
  Dim Info As New ADSystemInfo
   'Dim Info As Object
  ' Set Info = CreateObject("ADSystemInfo")
   iAddr.EmailAddress = strUserUPN
   If Not iAddr.CheckName("LDAP://" & Info.DomainDNSName) Then
      ' handle error
   End If
   
   'Get the free/busy status in Interval minute intervals from dtStartDate
to dtEndDate
   freebusy = iAddr.GetFreeBusy(dtStartDate, dtEndDate, Interval)
   GetFreeBusyString = freebusy

End Function

i am calling this function like

MsgBox GetFreeBusyString("abc@xyz.local", "10/6/2005 7:00:00 PM", "10/6/2005
7:30:00 PM", 30)
thanks in advance.
regards,
girdhari rawal
Tom Rizzo [MSFT] - 24 Oct 2005 04:54 GMT
Are you sure the free/busy is published for the user?  Can you see it
through Outlook?  Also, are you sure you're authenticating and not getting
errors like access denied that you're not catching?

Tom

Signature

Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint?  Check out http://www.microsoft.com/MSPress/books/5517.asp

> hi,
> My requiredment is that invite some attendees from GAL for a meeting
[quoted text clipped - 39 lines]
> regards,
> girdhari rawal
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.