Index: src/wp-admin/includes/class-wp-ms-users-list-table.php
===================================================================
--- src/wp-admin/includes/class-wp-ms-users-list-table.php	(revision 40926)
+++ src/wp-admin/includes/class-wp-ms-users-list-table.php	(working copy)
@@ -329,7 +329,17 @@
 			}
 
 			$path	= ( $val->path === '/' ) ? '' : $val->path;
-			echo '<span class="site-' . $val->site_id . '" >';
+			$siteclass = "site-" . $val->site_id;
+			/**
+			 * Filters the span class for a site listing on the mulisite user list table.
+			 *
+			 * @since 4.9.0
+			 *
+			 * @param string $siteclass   Class used within the span tag. Default "site-#" with the site's network ID.
+			 * @param int    $userblog_id Site ID.
+			 * @param object $user        WP_User object.
+			 */
+			echo '<span class="' . apply_filters( 'ms_user_list_site_class', $siteclass, $val->userblog_id, $user ) . '" >';
 			echo '<a href="'. esc_url( network_admin_url( 'site-info.php?id=' . $val->userblog_id ) ) .'">' . str_replace( '.' . get_network()->domain, '', $val->domain . $path ) . '</a>';
 			echo ' <small class="row-actions">';
 			$actions = array();
