OwnershipMode Property
Description
Owner mode, similar to logging in to a computer, allows you to restrict which schedules a user can modify.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property OwnershipMode() As Boolean
Remarks
Allows multiple schedules to be viewed on the same machine without letting everyone modify all schedules. OwnershipMode can be used with applications that require a user to log in. In this case, when the user logs in, you would set OwnerUser to the user name. In OwnershipMode, any events except those with ScheduleName = OwnerUser will be protected—no delete, no edit. New events will be automatically assigned to ScheduleName = OwnerUser. This allows the user to still view all schedules, but they can only modify their own.
Note: The ReadOnlyMode property will dynamically change depending on which schedule has focus. If the schedule does not belong to the user, then it will be put into ReadOnlyMode.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.