我需要获取用户的组,
IN.API.Raw("/people-search:(people:(id,first-name,last-name,email-address,industry,summary,num-connections,headline,group-memberships:(group:(id)))?first-name=ramesh&last-name=kotha&count="+25).result(function(result, metadata) {
//got the details here
}
当我使用result.values[0].person.groupMembership.group.id时,它说的是未定义。如何获取用户的组。