Getting position of object from collision

I'm trying to detect a collision between fpsplayer and a box collider. Once I do I want the position of that player. Or even better would be the entier object

function OnCollisionEnter(other : Collider) 
{    
var contact : String = other.transform.name; 
   if (contact == "Player") 
   {            
      var targetAttack : position = other.transform.position;

   } 
}

Looks like you just need to change:

var targetAttack : position = other.transform.position;

to:

var targetAttack : Vector3 = other.transform.position;