public void Logout()
{
try
{
SecurityManager.Logout(this);
}
finally
{
Authenticated = false;
Principals = null;
_session = null;
}
}