The task the person is asking is impossible.
Unit groups do not have any retreivable position data as they are a collection of units (links). The only posssibly solution I can imagine is to use an n efficency algerthim to find the mid point (average position of all units in group) and then get the devation from it and then find a random position within that circle.
Did you mean...
"How do i trigger a spell in GUI that causes effects at the position of a random unit in a unit group? "
Well, blizzard provides a BJ which can retreive random units from a unit group that scales with an efficency of n (the number of units in group). After getting your random unit (or units if many), you then enumerate through them and get their positions.
Additionally you could map the group to a unit array and then use a random index to retreive a random unit from it.