public static bool IsDefault(UserIdentity identity) { if (identity != null) { return String.IsNullOrEmpty(identity.m_username); } return true; } #endregion