Platform SDK: Exchange Server |
The ScheduleForUser method opens a schedule file for a specific user.
Application object
objApplication.ScheduleForUser (UserAddress, UserName, ScheduleMode, OpenMode, UserEntryId)
Schedule object
The UserAddress parameter is always required. The UserName, ScheduleMode, OpenMode, and UserEntryId parameters are required only for Microsoft Exchange Server accounts; otherwise, they are optional.
Note The ScheduleForUser method does not accept named arguments.
The ScheduleMode parameter specifies what level of functionality the schedule should support. It can have one of the following values.
Value | Description |
---|---|
1 | Supports basic user information. |
2 | Supports free/busy information. |
3 | Supports Schedule+ 1.0-level functionality (appointments, tasks, and events). |
4 | Supports Schedule+ 7.0-level functionality (appointments, tasks, events, tasks, contacts, and so on). |
The OpenMode parameter can have the following values.
Value | Description |
---|---|
1 | Never creates an object. |
2 | Creates a new schedule file, even if it already exists. |
3 | Creates a new schedule file only if the object does not exist. |