I'm migrating roughly a thousand users from another site into a brand new drupal site. I'm going through a database and calling user_save(...); with the appropriate info.
This works great.
However, in the content profile I have things like their address, phone number, bio, all sorts of that information attached to a node. I know how to create a normal node programmatically, but how do I create a content profile node programmatically that is attached to a user?