You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wasn't able to reproduce this in my testing as the users object for security role is returning an array of security role objects rather than integers. e.g.:
You may want to make sure that you have updated to the most recent version of the AxosoftAPI.NET wrapper and then try performing any calls again.
If you continue to experience issues, could I ask what version of Axosoft you are currently running? If you're on an older version, you may want to upgrade to the most recent version available from http://www.axosoft.com/downloads to resolve the issue.
Hi, found one issue with api, when those changes were made for SecurityRole, from int[] to IEnumerable
3f2a0e3
problem is that if you request single user like this
proxy.Users.Get(15).Data; you will get error, because result contains int[] for SecurityRole
"data": {
"id": 15,
"first_name": "x",
"last_name": "y",
"is_active": true,
"is_locked": false,
"email": "[email protected]",
"login_id": "x.y",
"source_control_user_names": [],
"use_windows_auth": false,
"windows_id": "",
"security_roles": [3,
7,
5,
4],
"copy_settings_user_id": null,
"password": null,
"use_gravatar": true
},
"metadata": {
}
}
The text was updated successfully, but these errors were encountered: