I am new to Lotus Notes R5.0. I have a form that has a field called User1 and has a @formula of @username. When I open the form in Notes Client I see my user ID (the ID I used to log on to Notes). When I open it in the IE (Internet Explorer) 5.5, I see the User1 as Anonymous.
I need a solution as I need to get the correct user ID on the Web. I have a Windows 2000 client with Developer version 5.0.1.
You get Anonymous because you have the access control list (ACL) of the database set to allow Anonymous access. To get a name, you must force the user to log into the server. The easiest way is to set Anonymous to No Access in the ACL. When the user tries to open the DB using a Web browser, Notes will challenge them to enter their ID and password. ID may be either their full name or their "shortname" (usually first initial last name), and their Internet/HTTP password. If a user passes the challenge (just like they would in the Notes Client), then your existing code will return their actual user name, not "Anonymous."