Version

LoggedOnUserName Property

Identifies the currently logged on user for WebSchedule.
Syntax
'Declaration
 
Public Property LoggedOnUserName As String
public string LoggedOnUserName {get; set;}

Property Value

Returns a String value representing the currently logged on user for WebSchedule view elements associated with this WebScheduleInfo.
Remarks

WebScheduleInfo uses this property solely for the purpose of comparing it to the ActiveResourceName. When the two properties are equivalent, reminder notifications are displayed to the end user when an Activity becomes current (it's starting time less the ReminderInterval meets or exceeds the current system time) and expire (it's starting time meets or exceeds the current system time, meaning the Activity has started and is now in the past).

Reminder notifications are suppressed if the LoggedOnUserName is not the same as the ActiveResourceName because this tells WebSchedule that the end user reviewing the active resource's activities is not their owner. Multiple users may review a schedule for one specified resource, but perhaps only one of them wishes to receive reminder notifications because the activity directly impacts him or her. The application is responsible for authenticating an end user's identity to ensure reminders are only displayed to the correct or interested users.

Reminder notifications may also be overridden if an application handles the DataBinding event and turns off the EnableReminders property.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also