I use this API GET /rest/usermanagement/1/search
_this.request('GET', '/search?entity-type=user&restriction=' + restriction + '&start-index=' + startIndex + '&max-results=' + maxResults + '&expand=user').
the return value like this:
[ { link:
{ href: 'http://xxxxxx:8095/crowd/rest/usermanagement/1/user?username=0202@test.com',
rel: 'self' },
name: '0202@test.com',
password: { link: [Object] },
key: '32769:3516f19a-df58-41c9-8721-0edac1f6431e',
active: true,
attributes: { attributes: [], link: [Object] },
'first-name': 'xxxx',
'last-name': 'xxxx',
'display-name': 'xxxxx',
email: '0202@test.com',
'created-date': 1486044305000,
'updated-date': 1557502165000 }]
why the attributes.attributes is empty array? do I miss something?