It fails with a false positive error:
vUserInfos = RepositoryUtils.GetUserInfos(['laszlo.sebo'], True)
RepositoryUtils.SaveUserInfo(vUserInfos[0])
2016-05-12 16:49:35: PythonNetException: Exception : User name contains spaces or invalid characters
2016-05-12 16:49:35: at Deadline.Scripting.RepositoryUtils.SaveUserInfo(IUserInfo userInfo)
2016-05-12 16:49:35: File “\inferno2\deadline\repository8\scripts\General\TestUsers.py”, line 12, in main
2016-05-12 16:49:35: RepositoryUtils.SaveUserInfo(oUserInfo)
(trying to migrate the users from 7->8… )