General discussion

Locked

CDO1.21-Log on to Other User's Calendars

By rtimblin ·
We are using Exchange2000, Win2K, IIS5.0, and Outlook2000. What must I do (from a configuration and programming standpoint) to add an appointment to someone else's calendar programmically). When I use the CDO logon method, I do not have the security rights to make the appointment.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

CDO1.21-Log on to Other User's Calendars

by Stillatit In reply to CDO1.21-Log on to Other U ...

The owner of the calendar must grant the login you are using sufficient rights to change the calendar. Note that you also need the right in the user's mailbox to see the folders (in order to traverse the folders to even see the calendar).

Good luck.

Collapse -

CDO1.21-Log on to Other User's Calendars

by rtimblin In reply to CDO1.21-Log on to Other U ...

I have 100 users, each user would have to be given rights to all other users for this to work. Doesn't seem logistically nor security feasible.

Collapse -

CDO1.21-Log on to Other User's Calendars

by GefC In reply to CDO1.21-Log on to Other U ...

Using CDO you cannot open another users calendars. The best method to do this in EX2K is using ADO records with the Web Storage System. Given appropriate rights you can do this. Example for a public folder below (from MSDN). Change the URL to point to a private folder.

Set Conn = CreateObject("ADODB.Connection")
Set Rec = CreateObject("ADODB.Record")
Conn.Provider = "ExOLEDB.DataSource"
(open the folder record with write access)
Conn.Open "http://myserver/public/folder/"
Rec.Open "http://myserver/public/folder/", Conn , adModeReadWrite
(set the default document property)
Rec("DAV:defaultdocument")="http://myserver/public/folder/Default.htm"
(save the changes)
Rec.Fields.Update
Rec.Close
Conn.Close

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums