Hi,
it would be helpful, if you could provide the code snippet that triggers the exception and the stacktrace of the exception itself.
In general you should be able to do something like this:
var user = session.ServerManager.Users[“myuser”];
user.Name = “youruser”;
user.Commit();
Cheers,
Jonas
--
More information about SmartAPI: http://www.smartapi.de
---
Sie erhalten diese Nachricht, weil Sie in Google Groups E-Mails von der Gruppe "SmartAPI" abonniert haben.
Wenn Sie sich von dieser Gruppe abmelden und keine E-Mails mehr von dieser Gruppe erhalten möchten, senden Sie eine E-Mail an
smartapi+u...@googlegroups.com.
Wenn Sie in dieser Gruppe einen Beitrag posten möchten, senden Sie eine E-Mail an
smar...@googlegroups.com.
Weitere Optionen finden Sie unter https://groups.google.com/d/optout.
Hi,
I'm sorry for the late answer.
Could you please try to set the LanguageOfUserInterface before the commit, e.g.
deadUser.LanguageOfUserInterface = session.DialogLocales.First()
Cheers
Jonas