(cls, domain)
return {
            "username": _("username"),
            ROLE_FIELD: _("role"),
            "email": _("email"),
            DOMAIN_FIELD: _("project"),
            "is_active": _("is active"),
            "language": _("language"),
            PHONE_NUMBERS_FIELD: _("phone numbers"),
            LOCATION_FIELD: _("primary location"),
            "user_data": user_data_label,
            TWO_FACTOR_FIELD: _("two factor authentication disabled"),
            ASSIGNED_LOCATIONS_FIELD: _("assigned locations"),
        }
Get slugs and human-friendly names for the properties that are available
        for filtering and/or displayed by default in the report, without
        needing to click "See More".
Get slugs and human-friendly names for the properties that are available
        for filtering and/or displayed by default in the report, without
        needing to click "See More".
Get slugs and human - friendly names for the properties that are available for filtering and / or displayed by default in the report without needing to click See More .
def get_primary_properties(cls, domain):
        """
        Get slugs and human-friendly names for the properties that are available
        for filtering and/or displayed by default in the report, without
        needing to click "See More".
        """
        if domain_has_privilege(domain, privileges.APP_USER_PROFILES):
            user_data_label = _("profile or user data")
        else:
            user_data_label = _("user data")
        return {
            "username": _("username"),
            ROLE_FIELD: _("role"),
            "email": _("email"),
            DOMAIN_FIELD: _("project"),
            "is_active": _("is active"),
            "language": _("language"),
            PHONE_NUMBERS_FIELD: _("phone numbers"),
            LOCATION_FIELD: _("primary location"),
            "user_data": user_data_label,
            TWO_FACTOR_FIELD: _("two factor authentication disabled"),
            ASSIGNED_LOCATIONS_FIELD: _("assigned locations"),
        }
def get_primary_properties ( cls , domain ) : if domain_has_privilege ( domain , privileges . APP_USER_PROFILES ) : user_data_label = _ ( "profile or user data" ) else : user_data_label = _ ( "user data" ) return { "username" : _ ( "username" ) , ROLE_FIELD : _ ( "role" ) , "email" : _ ( "email" ) , DOMAIN_FIELD : _ ( "project" ) , "is_active" : _ ( "is active" ) , "language" : _ ( "language" ) , PHONE_NUMBERS_FIELD : _ ( "phone numbers" ) , LOCATION_FIELD : _ ( "primary location" ) , "user_data" : user_data_label , TWO_FACTOR_FIELD : _ ( "two factor authentication disabled" ) , ASSIGNED_LOCATIONS_FIELD : _ ( "assigned locations" ) , }