|Title||Can't migrate users from Perforce to TeamTrack automatically|
|Assigned user||Gareth Rees|
|Description||The TeamTrack integration doesn't support automatic migration of users from Perforce to TeamTrack. Someone has to add all the users to TeamTrack by hand.|
|Analysis||This is a duplicate of job000424.|
This is because I don't know how to add users to TeamTrack using the API.
I tried the following using the Python interface to TeamTrack build with the API that Kelly gave me in 2001-08 (roughly corresponding to build 50102).
user = server.new_record(teamtrack.table['USERS'])
user['LOGINID'] = 'test'
user['NAME'] = 'Test user'
In terms of the underlying API calls this corresponds to:
TSRecord user(TS_TBLID_USERS, server);
user.SetString("NAME", "Test User");
However, the new user appears not to be valid. In particular, when I examine the user in the TeamTrack Administrator, I can't look at any tabs other than "Preferences" in the "Edit User" dialog.
|Created by||Gareth Rees|
|Created on||2001-10-24 12:26:38|
|Last modified by||Gareth Rees|
|Last modified on||2001-12-14 15:26:04|
|History||2001-10-24 GDR Created.|
2001-12-14 GDR Duplicate of job000424.