Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Friends,
In my Dashboard,i'm using Text object as Tabs.Like HOME,Underwriting,CLAIMS,REINSURANCE,,,..
I need to show the all the tabs to ADMIN.
For USER1 UnderWriting and CLAIMS,
For USER2 CLAMS and REINSURACE,
FOR USER3 REINSURANCE and Underwriting.
I attached Image of my dashboard.Can Any one pls help me out how can i restrict it and need coding for this.I'm new to this concept.
Regards
Krishna
Kalyan,
Please find the attached .
and kindly close the thread my marking helpfull or correct answer. so that it will usefull for others.
Regards,
Pradeep
The easiest way to do this is with OSUSER() instruction.
In each sheet you have to set the visibility condition to OSUSER()=youruser
Let me know
in the properties of each sheet , go to General->Show Sheet, select the Conditional radio button
in the text box
use something like
if(match,OSUser(), ADMIN,USER1,1,0)
this means on this sheet it is visible to users Admin, and User1 (OSuser() returns the user name in the following format : domain\user_name
then in the document properties Settings->Document Properties-> check the Hide Tabrow checkbox
in the actions of your text box select Layout->Activate sheet-> put the id of the sheet
Hi Ali,
I dont want that the user should not see this Text Objects when s/he login.
I mean to say Admin can see all the text boxes,
User can see only the text boxes which we assigned to them.I want to filter the Text Objects in main page itself.
Regards
Krishna
Using OSUser() to hide objects will work.
But - just to be clear: This is a lousy method to achieve security. If the goal is security, then you should choose another method (in addition). See more on Data Reduction – Yes, but How?
HIC
Hi,
Create one variable with name "=osuser" as value.
Then in the textbox in the Layout Tab. on Conditional show give the created variable is equal to 'ADMIN'.
=OSuser() = 'ADMIN' . If it is not admin then it will not the text object.
Hope this help
With Regards
Hi Pradeep,
If i use the above condition,text object is hiding automatically.
Regards
Krishna
Hi Kalyan,
If you use the above condition.
Text object will be visible only when your user name = 'ADMIN'
so if the user name is USER 1 then USER 1 = Admin (False) - - - >Hide the Text object
if user name is ADMIN then ADMIN =ADMIN (True) - -> Enable the Text object.
PS: If you want to visible the hide object manually then GOTO
Settings --->Sheet properties ---->objects -----> "Your Object" ------> Properties -------> Enable.
if it is still confusing please attach a sample file.
Thanks,
Pradeep
Hi Pradeep
Please find the attachment and let me know how can i do it.Please highlight where u have done changes through screen shots.It will be helpful for me.
Regards
Krishna