Description: | Returns the access of this user to the appointments belonging to the passed in user |
Syntax: | object.GetAppointmentAccessToUser(user) |
Parameters: | |
object | Required, the User object |
user | Required, the User object |
Remarks: | This function returns a number which represents this User's access to the appointments belonging to the OfficeTalk user represented by the passed in User object. The access is represented by an integer value as follows: |
Value | Access Level |
0 | No Access |
1 | Visible Access |
2 | Read Only Access |
3 | Read/Create Access |
4 | Read/Create/Edit Access |
5 | Read/Create/Edit/Delete Access |
Returns: | Returns an integer representing the associated access. |
Example: |
Dim user1 As Object
Dim user2 As Object
Dim iAccess As Integer
Set session = CreateObject("OfficeTalk.Session")
Call session.Logon(login name, password)
Set user1 = FindUserByLoginName("fred")
Set user2 = FindUserByLoginName("john")
iAccess = user1.GetAppointmentAccessToUser(user2)