on 01-24-2014 02:08 AM
updateUser is for end-user accounts (which can show up in the directory), updateAppUser is for application users (which don't.)
You should be able to update the password, digest credentials and associated devices. In your snippet above, setting the userId field as shown would be for identifying which record to update (you don't show any fields being used, so nothing would change) If you want to modify the user's actual userId value, use the (newUserId) field.
Please attach the AXL service logs (access via RTMT) from an attempt if you're still having problems.
updateUser is for end-user accounts (which can show up in the directory), updateAppUser is for application users (which don't.)
You should be able to update the password, digest credentials and associated devices. In your snippet above, setting the userId field as shown would be for identifying which record to update (you don't show any fields being used, so nothing would change) If you want to modify the user's actual userId value, use the (newUserId) field.
Please attach the AXL service logs (access via RTMT) from an attempt if you're still having problems.
Sorry for incomplete snippet. I've checked my code but I've noticed that it's possible call only these four set methods on updateUser:
updateUser.setUserid(String value),
updateUser.setPassword(String value),
updateUser.setDigestCredentials(JAXBElement<String> value),
updateUser.setSequence(BigInteger value),
Nothing like setAssociatedDevices()...
I miss anything?
Any progress on this? I can use 'updateAppUser' to add device to the AppUser's Controlled Device list but it erases all other devices except the one added just now. any help is much appreciated
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: