?
Solved

hiding actions

Posted on 2001-08-06
6
Medium Priority
?
243 Views
Last Modified: 2013-12-18
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?
0
Comment
Question by:hgajas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 

Expert Comment

by:mkraan
ID: 6356800
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
0
 

Expert Comment

by:mkraan
ID: 6356812
Oops, in my above comment, replace "User A" with "User B" in the second part of the formula.
0
 

Expert Comment

by:puneetfred
ID: 6357187
u can also write this as:

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

This is shorter. So, u could use this.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 4

Accepted Solution

by:
sloeber earned 300 total points
ID: 6358588
Hey hgajas,

The best way to do this all is using roles.
If you use roles then the action is person independence but role dependence.
It's easier to maintain.
Because you just must go the ACL and assign an other person to that role.
The way you have written the name is also true.

So, how must you do that.
Go to the ACL
File ==> Database ==> AccessControlList
In the left frame under Basics choose Roles
Click on add in the body screen
Write a name for your role like "Visible"
Click ok
Go in the left frame back to Basic
Now you see you role and the right side below, between [ ].
So, click on all the editor names and assign them this role.
You click one time on the editor name and then one time on the role name, so there is a "v" visible near the role.

Go now to your action and write in the hide when properties
@IsNotMember("[Visisble]";@UserRoles)

That's all
Now he hide the action for all the users who don't have the user role "[Visiblie]" assigned to them.

It's easy to maintain, and you don't have any hard coded formulas in your database.
Allways try to avoid that.

Greets,
Sloeber
0
 

Author Comment

by:hgajas
ID: 6359318
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
0
 
LVL 4

Expert Comment

by:sloeber
ID: 6359427
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 ;-)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question