ownCloud users are exported as address book

alternative approach for https://github.com/owncloud/core/pull/8951

@LEDfan
Should be static?