Reader ACL access and @setprofilefield

I need that users with Reader access to a database can create their profile document and update fields in it.I searched the forum and read here

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/0e8e014ddfa36b8786256f810069df66?OpenDocument&Highlight=2,readers,setprofilef%3Feld

that it’s possible but it does not work with me, an error shows up on @setprofilefield(“x”;“y”;“z”;@username) execution.

It works if I enable “Write public documents” in ACL attributes but this implies that readers can put into edit mode all the documents they can read.

Have I overlooked something?

Thx

Subject: Reader ACL access and @setprofilefield

Yes. Public documents are those with a special flag in them (which your profile documents can and should have).

It won’t allow then to update other documents. They WILL be able to put them into edit mode, but they won’t be able to save them.

Subject: RE: Reader ACL access and @setprofilefield

Does this mean that reader ACL access right is not enough to make use of profile document for storing temporary data to be passed between frames (in example) ?

Bruce Stapley says in the post that I quoted “you can edit a profile document using @setprofilefield even if you’re only a Reader”.

Either I am doing something wrong or Bruce is wrong. I wish he is right and I am not doing what required.

Subject: Reader ACL access and @setprofilefield

Using 6.5, I am able to edit and save a profile document using LotusScript. (I can also do this with @setprofilefield.)

One funny thing is that I get an error if I try to save the profile document with reader access. Yet the info gets saved even if I don’t save the profile document. I’m using doc.removeitem(“fieldname”). This is actually removing the field from the profile document, even if I don’t save this document. This profile document is being saved when the database is closed and keeps the edited value when the db is opened again.