def user_info_columns(table):
    """Returns the column expression for all required info retrieved by
    a user lookup.

    *table* is the users SQLAlchemy table object. Required to preserve type
    information for the columns.

    """

    return [
        table.c.user_id,
        table.c.system_id,
        table.c.full_name,
        table.c.email,
        table.c.email_verified,
        table.c.is_active,
        table.c.last_login_try,
        table.c.last_login_success,
        table.c.failed_login_tries,
        table.c.created_on,
        table.c.last_updated,
        table.c.user_role,
        table.c.extra_info,
        table.c.emailverify_sent_datetime,
        table.c.emailforgotpass_sent_datetime,
        table.c.emailchangepass_sent_datetime
    ]