Access Documents on web

Hi,my problem is to make some documents available for a category’s users. If the user logged and his name is not in the textlistfield so he can not see the document. In Client there is no problem to realize it, but in web i used in the view:

@ismember(@Name([CN];@username);ShowGroupMembers)=1. ShowGroupMembers is the textlist field that contain the members who can read the document.

I’m in intranet and every user supposes to be logged before to access the database.

It is not working.

The Read Field doesn’t work on web.

Please help me to do it.

Subject: Access Documents on web

Hey Joseph,

do you mean your text field is not available on web? if so make sure “Generate HTML for all fields” is checked in form properties

Subject: RE: Access Documents on web

Hey thank you for your answer. My Textlistfield is available and is correct. Some users who are not listed in the textlistfield see all the documents that they don’t suppose to see. I think that my form is not refreshed oder something is wrong…

The maximum internet name and password is set to Editor.

Subject: RE: Access Documents on web

Well, the formula you posted wouldn’t work in a Readers field, you can’t use @UserName or @UserRoles in a view on the web (they’ll only work properly in a private view with the Notes client), and the formula won’t evaluate to a category value, so RestrictToCategory is out of the question. Oh, and web applications don’t use Notes events like QueryOpenDocument.

In other words, your formula makes no sense in any web context, and you aren’t using any of the built-in Notes security facilities (BA-A-A-AD – never roll your own “security”). So exactly what did you expect to accomplish?