Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Security API

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Security API
 Login/Join
 
Master
posted
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,
Gavin

This message has been edited. Last edited by: GavinL,



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Master
posted Hide Post
Somehow through my Internet hoping, I ran into this.

http://www.informationbuilders...letter/15_02/06efrem

Looks like it might be the one I'm looking for.



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Master
posted Hide Post
Gavin,

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, 2013Report This Post
Master
posted Hide Post
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.

-SET &USER = GETUSER('A20');
-TYPE &USER

-SET &LIST = GRPLIST(300, 'A300');
-TYPE &LIST



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Expert
posted Hide Post
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
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, 2013Report This Post
Master
posted Hide Post
quote:
IBIMR_memberof is available by adding it to the Custom Settings in the Admin Console.


Thanks to you both.



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Security API

Copyright © 1996-2020 Information Builders