As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
Has anyone worked with WebFOCUS API? If so, does it have a security API? We are building some custom pages, that have our own tabs and are looking to make those tabs visible or hidden based on the end user roles. Any direction or documentation would be great.
Thanks, GavinThis message has been edited. Last edited by: GavinL,
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
I am unaware of any API that would allow you to supply security. What I would do is use the security group functions like GRPLIST(), IBIMR_memberof etc. Grab the groups associated with the user and then hide/show the tab as needed. Or you can include/not include the tab code etc.
Eric Woerle 8.1.05M Gen 913- Reporting Server Unix 8.1.05 Client Unix Oracle 11.2.0.2
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013
I looked into IBIMR_memberof, but webfocus doesn't seem to know what that is. I'm using 8.1.04 so maybe it's legacy. GRPLIST(), I didn't know about, but looks like it pulls back groups, which I could use. Any other security methods that could be helpful?
I was looking around and found GETUSER, but it seems to always return SYSTEM, no matter who I'm logged in as. Though GRPLIST does change depending on who I log in as.
IBIMR_memberof is available by adding it to the Custom Settings in the Admin Console.
This is what we have for MRE-related variables:
# --- Documentation: http://techsupport.information...cAdmin/wf8008sec.pdf
# --- WebFOCUS Security and Administration > Manipulating WebFOCUS Variables > Managed Reporting Internal Variables
# Managed Reporting Internal Variables
# The folder where the processed report is stored
<SET> IBIMR_folder (pass)
# The complete path for a procedure, including file name and extension
<SET> IBIMR_fullpath (pass)
# The domain HREF where the report being processed is stored
<SET> IBIMR_domain (pass)
# The description given to the report by the developer
<SET> MR_FULL_FEXNAME (pass)
# The file name (also known as the IBFS name) assigned to the report when it was created
<SET> MR_ITEM_HANDLE (pass)
<SET> IBIMR_memberof(pass)
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
there is also &FOCSECGROUP which returns the primary group of the user. And I think they introduced &FOCSECGROUPS in 8009 for the full list of groups. I can't remember if it picks up the reporting server groups or the Web Client groups....
Eric Woerle 8.1.05M Gen 913- Reporting Server Unix 8.1.05 Client Unix Oracle 11.2.0.2
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013