Problem solve Get help with specific problems with your technologies, process and projects.

Determining user's current location

How can I determine users current location via script or formula?

You can access the current Location setting in the client notes.ini file by using LotusScript. The following line will set the variable mylocation to the value of the notes.ini setting 'Location' of the client that executes the code.

mylocation = session.GetEnvironmentString("Location", True)

The True flag at the end indicates that the exact name should be used (no $ is prefixed to the value). The location name of the current location document is the information to the left of the first comma.

Dig Deeper on Domino Resources - Part 3

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...