To address all orphaned users:
sp_addlogin User Name , Password go sp_changedbowner User Name go sp_defaultdb User Name , Database Name
User Name is the appropriate user name, Password is the appropriate password for the StarTeam Server, and Database Name is the StarTeam Server Database.
sp_addlogin User Name, Password go EXEC sp_change_users_login 'Update_One', 'Orphaned User Name', 'New User Name'
Where the Orphaned User Name is the orphaned user from the previous server and the New User Name is the new login created in the previous step.