Can a bot get the IP addresses of buddies who contact it?

I see that the AccLocation object has a getIpAddress() method but I don't see any way to get an AccLocation from a session.

The bot that we are building has a requirement to track the ip addresses that contact it. Is there any way to access this information through AimCC?

Re: Can a bot get the IP addresses of buddies who contact it?

If you're interested in getting buddies' locations, use AccUserProp_Location. AccLocationProp_IpAddress is used for asking the AOL servers to guess your location; you can't see a buddy's AccLocationProp_IpAddress. For privacy purposes, AIMCC doesn't have an interface for getting a buddy's IP address. If you can say more about what the intent is for using IP addresses maybe we can offer other ideas.