Can readers fields be dynamic by checking if the user has a certain role?

For example, would a formula like this work in a readers field?

@If(@IsMember(“[DivisionManagers]”;@UserName);@UserName;“”)

Any help would be appreciated. Haven’t worked with readers and authors fields much.

Gérald

Subject: Why not just use the Role in the ReaderNames field?

Subject: Can readers fields be dynamic by checking if the user has a certain role?

Hi GeraldUnless you have something special in mind, all you have to do is put “[DivisionManagers]” as the value of your Readers or Authors fields and Domino does the rest.

Domino will automatically/dynamically check whether the user has that role (i.e. whether the role is activated in the ACL for that user or any group in the ACL wich a user is a member of) or if you use a Domino Directory group name, it will check to see if the user is a member of the group. You won’t need a formula.

Bizhan

Subject: RE: Can readers fields be dynamic by checking if the user has a certain role?

Gee! Thanks, guys!

I had no idea it was so easy!

I owe you a beer!

Gérald