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?
@Name([CN];@UserName) != "A User"
Any ideas?
Also, can I hide it from everyone except editors in the access control list? If so, how?
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];@u sername); "userA":"user B").
This is shorter. So, u could use this.
@IsNotMember(@name([CN];@u
This is shorter. So, u could use this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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 ;-)
Try never to use hard coded formulas.
Thanks for the points
It's always a pleasure to help someone ;-)
Greets,
Sloeber
CU NEXT TIME ;-)
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