oC users can have same displayname, only username or email is different:

This make sharing UI difficult, but oC server got a solution for this:


Expected behaviour
Users with same displayname should be easier to distinguish. oC server can add User ID or Email address in brackets after the displayname
Actual behaviour
Users with same displayname can't be distinguished
Server configuration
ownCloud version:
10.0.9
Client configuration
Client version:
ownCloud-qt5.10.1-2.5.0.10453-daily20180827.pkg
Operating system:
macOS
API
Response with shareWithAdditionalInfo = None:
<?xml version="1.0"?>
<ocs>
<meta>
<status>ok</status>
<statuscode>100</statuscode>
<message>OK</message>
<totalitems></totalitems>
<itemsperpage></itemsperpage>
</meta>
<data>
<exact>
<users/>
<groups/>
<remotes/>
</exact>
<users>
<element>
<label>Michael</label>
<value>
<shareType>0</shareType>
<shareWith>michael1</shareWith>
</value>
</element>
<element>
<label>Michael</label>
<value>
<shareType>0</shareType>
<shareWith>michael2</shareWith>
</value>
</element>
</users>
<groups/>
<remotes/>
</data>
</ocs>
Response with shareWithAdditionalInfo = User ID:
<?xml version="1.0"?>
<ocs>
<meta>
<status>ok</status>
<statuscode>100</statuscode>
<message>OK</message>
<totalitems></totalitems>
<itemsperpage></itemsperpage>
</meta>
<data>
<exact>
<users/>
<groups/>
<remotes/>
</exact>
<users>
<element>
<label>Michael</label>
<value>
<shareType>0</shareType>
<shareWith>michael1</shareWith>
<shareWithAdditionalInfo>michael1</shareWithAdditionalInfo>
</value>
</element>
<element>
<label>Michael</label>
<value>
<shareType>0</shareType>
<shareWith>michael2</shareWith>
<shareWithAdditionalInfo>michael2</shareWithAdditionalInfo>
</value>
</element>
</users>
<groups/>
<remotes/>
</data>
</ocs>
Response with shareWithAdditionalInfo = Email address`:
<?xml version="1.0"?>
<ocs>
<meta>
<status>ok</status>
<statuscode>100</statuscode>
<message>OK</message>
<totalitems></totalitems>
<itemsperpage></itemsperpage>
</meta>
<data>
<exact>
<users/>
<groups/>
<remotes/>
</exact>
<users>
<element>
<label>Michael</label>
<value>
<shareType>0</shareType>
<shareWith>michael1</shareWith>
<shareWithAdditionalInfo>michael1@example.com</shareWithAdditionalInfo>
</value>
</element>
<element>
<label>Michael</label>
<value>
<shareType>0</shareType>
<shareWith>michael2</shareWith>
<shareWithAdditionalInfo>michael2@example.com</shareWithAdditionalInfo>
</value>
</element>
</users>
<groups/>
<remotes/>
</data>
</ocs>
oC users can have same displayname, only username or email is different:
This make sharing UI difficult, but oC server got a solution for this:
Expected behaviour
Users with same displayname should be easier to distinguish. oC server can add
User IDorEmail addressin brackets after the displaynameActual behaviour
Users with same displayname can't be distinguished
Server configuration
ownCloud version:
10.0.9
Client configuration
Client version:
ownCloud-qt5.10.1-2.5.0.10453-daily20180827.pkg
Operating system:
macOS
API
Response with
shareWithAdditionalInfo=None:Response with
shareWithAdditionalInfo=User ID:Response with
shareWithAdditionalInfo= Email address`: