Are you trying to capture where the person is located: for that day or where they are admistratively located?
If the latter, I would normally pull the information from the Address Book (e.g. Country). Clearly, it’s only as good as the data in the address book but it encourages the users to keep the address book up to date.
If you want to know “day to day” location - maybe you could look at their IP address but that only works if they are connecting to different domains which would be identified as in Canada or in the U.S, so this likely isn’t going to help you. For example, I work in Canada but my companies IP address is assoicated with the U.S. head office so my IP address says I’m located in the U.S.
Actually I need to know the day to day location. Actually the person may be from U.S. But when he perform action, on that day he may be working from Canda branch. So may be I need to know from his current system settings.
Yes regarding IP Address you are correct in my case it would say the person is from U.S.