public function diffUserAccounts($getMissingAccountsLocally = true)
    {
        $ad = $this->getAdAccounts();
        $local = $this->getLocalAccounts();

        if ($getMissingAccountsLocally === true) {
            return array_diff((array)$ad, (array)$local);
        } else {
            return array_diff((array)$local, (array)$ad);
        }
    }