Link to home
Start Free TrialLog in
Avatar of hgajas
hgajas

asked on

hiding actions

I have a Lotus Notes 4.6 database. I want to hide an action from everyone except 2 people. It works for one, but when I add the second it doesn't. I was using the Hide action if formula is true property.

@Name([CN];@UserName) != "A User"

Any ideas?

Also, can I hide it from everyone except editors in the access control list? If so, how?
Avatar of mkraan
mkraan

Hello hgajas,
You can use the @IsMember formula.

eg you're hide when formalu would be as follows:

@IsMember("User A"; @Name([CN]; @UserName)) | @IsMember("User A"; @Name([CN]; @UserName))

I'm not sure wheter the order of the pars is right, if not check the help file.

Gr,
MKraan
Oops, in my above comment, replace "User A" with "User B" in the second part of the formula.
u can also write this as:

@IsNotMember(@name([CN];@username); "userA":"user B").

This is shorter. So, u could use this.
ASKER CERTIFIED SOLUTION
Avatar of sloeber
sloeber
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hgajas

ASKER

Thanks everyone who responded soo quickly. All answers worked. Thanks especially to sloeber, you didn't just answer the question you gave me lesson. Thanks.
hgajas
I hope that you understand the principle.
Try never to use hard coded formulas.

Thanks for the points
It's always a pleasure to help someone ;-)


Greets,
Sloeber
CU NEXT TIME ;-)