An excerpt of "Barack Obama: The Story" by Washington Post associate editor David Maraniss appeared in Vanity Fair on Wednesday, offering details about the women the young Mr. Obama dated during his "existentialist stretch" as a student in New York.