diff --git a/lib/Controller/ASCIMUser.php b/lib/Controller/ASCIMUser.php index a0f5421..e592731 100644 --- a/lib/Controller/ASCIMUser.php +++ b/lib/Controller/ASCIMUser.php @@ -100,8 +100,10 @@ abstract class ASCIMUser extends ApiController { 'userName' => $userId, 'displayName' => $targetUserObject->getDisplayName(), 'emails' => [ + [ 'primary' => true, 'value' => $targetUserObject->getSystemEMailAddress() + ] ], //'groups' => [], 'active' => (bool) $this->config->getUserValue($userId, 'core', 'enabled', 'true') === 'true'