Solved

hiding actions

Posted on 2001-08-06
6
236 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
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 4

Accepted Solution

by:
sloeber earned 75 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Lotus Domino - LKMgr Long Held Lock Dump 10 2,684
IBM Enterprise Integrator - ZID File 1 168
Lotus notes email code 13 90
Find and delete local contacts in names.nsf 5 178
For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now