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.
Does webfocus provide a capability to maintain security groups in batch, as opposed to 1-by-1 maintenance in the online interface? If so, would a person who has security to add users online (domain admin) have the same rights for batch? If not, has anyone done a custom solution and was it easy to do? We're moving from 5.3.4 to 7.1.4 in a few weeks.
Posts: 59 | Location: Minneapolis | Registered: September 01, 2004
It's quite simple to do using MODIFY. Code your connection string to give yourself write access to the repository. Files are WF_% etc
Here's one that allows you to copy users so they have the same groups.
-* File usercopy.fex -SET &DUMMY = &SOURCE.(FIND USERID IN WF_MRUSERS).Source Userid. ; -SET &DUMMY = &TARGET.(FIND USERID IN WF_MRUSERS).Target Userid. ; -SET &DUMMY = &OPTION.(View,Copy Delete first,Copy no Del,Delete from Target) ;
-IF &OPTION OMITS 'Delete' THEN GOTO NO_DELETE;
TABLE FILE WF_USRGRPTB PRINT USERID GROUPID IF USERID EQ '&TARGET' ON TABLE HOLD END -RUN MODIFY FILE WF_USRGRPTB
FIXFORM FROM HOLD GOTO C001 CASE C001 MATCH USERID GROUPID ON NOMATCH REJECT ON MATCH DELETE ENDCASE DATA ON HOLD END -RUN
-NO_DELETE
-IF &OPTION OMITS 'Copy' THEN GOTO NO_COPY;
DEFINE FILE WF_USRGRPTB NEW_USERID/A128V = '&TARGET' ; END TABLE FILE WF_USRGRPTB HEADING " Groups for &SOURCE " PRINT NEW_USERID GROUPID ISGRPADMIN IF USERID EQ '&SOURCE' ON TABLE HOLD END -RUN MODIFY FILE WF_USRGRPTB COMPUTE NEW_USERID/A128V = ; FIXFORM FROM HOLD GOTO C001 CASE C001 COMPUTE USERID = NEW_USERID ; MATCH USERID GROUPID ON NOMATCH INCLUDE ON MATCH REJECT ENDCASE DATA ON HOLD END -RUN
-NO_COPY
-TYPE WEBFOCUS CGIVAR IBIWF_mreports=FRAME -TYPE WEBFOCUS CGIVAR IBIWF_mrcolumns=2 TABLE FILE WF_USRGRPTB HEADING " Groups for Source &SOURCE " PRINT GROUPID ISGRPADMIN IF USERID EQ '&SOURCE' END -RUN TABLE FILE WF_USRGRPTB HEADING " Groups for Target &TARGET " PRINT GROUPID ISGRPADMIN IF USERID EQ '&TARGET' END -RUN
Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2 Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006
-SET &DUMMY = &SOURCE.(FIND USERID IN WF_MRUSERS).Source Userid. ;
-SET &DUMMY = &TARGET.(FIND USERID IN WF_MRUSERS).Target Userid. ;
-SET &DUMMY = &OPTION.(View,Copy Delete first,Copy no Del,Delete from Target) ;
do?
2) WF_USRGRPTB - Is this a Master you created? Are we not talking about MRE? If so, aren't the users in an HTML file (user.htm in basedir) and not in the "repository"? (The repository is for ReportCaster schedules)
Thanks,
Francis.
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
1. We use the amper auto prompt facility. This just allows us to put all the prompts together and make sure they appear in the order we want.
2. There are 2 repositories for the MRE mre and reportcaster. Check client administration menu for their locations they can be focus, oracle or sequel server.
The masters are created via synonym tool in the usual way after setting up the correct connection.
If your security repository is held in an SQL source then using John's method should suit, if not then you need to define your own process depending upon the repository used.
As Francis mentioned above, the standard MRE security repository is HTML based. To achieve bulk update / loading of Users you would have to define your own process unless someone else on the Forum has already achieved this and is willing to share their solution with you.
My current client uses Active Directory and I have written several VB Scripts that connect Users into Group and Role memberships using the IB supplied VBS files as a model.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004