We have a network extension. It is bundled in an app, that is launched as a launch agent for each user.
When doing the install, the installer bootstraps the agent for each currently-logged-in console user.
When the agent runs, it checks to see if it is the current active console user, and if so, goes through the process of activating the extension. This part works fine.
But... if the installation is done while two users [haven't tried more than 2, sorry] are simultaneously logged in, SysPrefs gets launched for both users.
Is this expected behaviour?