[This is preliminary documentation and is subject to change.]
Gets the availability information for a user between a time range.
Namespace:
OfficeClip.DBLayer.DesktopAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public DataView GetUserAvailability( int userId, DateTime startDatetime, DateTime endDatetime ) |
Visual Basic (Declaration) |
---|
Public Function GetUserAvailability ( _ userId As Integer, _ startDatetime As DateTime, _ endDatetime As DateTime _ ) As DataView |
Visual C++ |
---|
public: DataView^ GetUserAvailability( int userId, DateTime startDatetime, DateTime endDatetime ) |
Parameters
- userId
- Type: System..::.Int32
Id of the user whose availability information is to be obtained.
- startDatetime
- Type: System..::.DateTime
Starting Date and Time of the time range. (This is the date and time based on currenly logged in User's timezone).
- endDatetime
- Type: System..::.DateTime
Ending Date and Time of the time range. (This is the date and time based on currenly logged in User's timezone).
Return Value
DataView containing the user's availability information. DataView has the following two columns.- id (System.Int32) -- number between 0 to 95 corresponding to each quarter of an hour over a 24 hour period.
- status (System.String) -- value determining the availability F = Free B = Busy O = Out of Office T = Tentative