The IsAuthenticated property returns True if the active
client session has successfully authenticated with a valid username
and password. This property should only be accessed within an event handler such
as OnCommand because its value is specific to the client
session that raised the event. This property will always return a
value of False outside of an event handler.