Determine if the active client session has authenticated as an
The IsAnonymous property returns True if the active
client session has authenticated as an anonymous (guest) user. 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.