Focal Point
[SOLVED] How do I get a list of all users from MRE

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/688106554

June 01, 2010, 02:17 PM
HPD
[SOLVED] How do I get a list of all users from MRE
My first post!!!

Is there a report that will give me a list of all my users, thier emails and any domains they are assigned.

We are using WF 7.6.10, Windows 2003 server.

Bill

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


WebFOCUS 7.6.10
Window 2003 64 bit
Output: many
June 01, 2010, 02:27 PM
Efrem
I know it can be accomplished if you're licensed for WebFOCUS Web Services and the Web Services adapter.
There might be a simpler way.
June 01, 2010, 02:44 PM
GinnyJakes
There is an MREXTRACT utility which creates reportable files from the MR repository. That would get you what you need. Look in the MR Admin manual for details.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
June 02, 2010, 08:53 AM
ABT
I am told by my tech rep that the 7.6.11 release (not sure about .10) includes an option to have MRE backended by an RDBMS. That would make the information you want (and I too) available as an SQL query (or create an access and master file and grab it directly from a WF query).


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
June 02, 2010, 09:26 AM
GinnyJakes
I think that option is in 7.7. or 8.0, not 7.6.11 as I have been testing it for weeks and never came across that option. And I read all of the manuals.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
June 02, 2010, 01:18 PM
HPD
I have found a file with all the infomation I need, user.htm.

Has anyone used this file?

Bill


WebFOCUS 7.6.10
Window 2003 64 bit
Output: many
June 02, 2010, 01:20 PM
Efrem
User.htm would have to be parsed.

It does contain the User information in basedir.
June 02, 2010, 01:36 PM
Francis Mariani
Parsed here: Report against user.htm?


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
June 02, 2010, 02:07 PM
Sayed
If you use Internal for Authorization, you're stuck with parsing user.htm.
If you use Realm Driver for Authorization ie, SQL Server or Oracle as your repository, then you can report off the tables.

Thanks,
Sayed


WF 8.x and 7.7.x Win/UNIX/AS400, MRE/Portal/Self-Service, IIS/Tomcat, WebSphere, IWA, Realmdriver, Active Directory, Oracle, SQLServer, DB2, MySQL, JD Edwards, E-BIZ, SAP BW, R/3, ECC, ESSBASE
June 02, 2010, 02:27 PM
GinnyJakes
Going back to my original post, have you even looked at the MREXTRACT utility? Here is some doc from the mradmin.pdf manual:
quote:
Procedure: How to Run the Managed Reporting Extract Utility
1. Navigate to the WebFOCUS76/utilities directory.
2. Execute the mrextract.bat file (Windows systems) or mrextract file (UNIX systems).

A series of messages appear:
-----------------------------------------------
Managed Reporting Repository Extract Utility
WebFOCUS Release 7
-----------------------------------------------
Extracting MR User Data...
Extracting MR Role Data...
Extracting MR Group Data...
Extracting MR Domain Data...
Extracting MR Domain Content Data...
Finished.
Press any key to continue . . .
The utility creates the output files in the WebFOCUS76/utilities directory. For information
about the format of these files, see Managed Reporting Extract Utility Output Files on
page 158. For information about reporting from these files with WebFOCUS, see Reporting
From Extract Files on page 166.

You can find a copy of this manual at the doc link in the upper right-hand corner of this page.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
June 02, 2010, 02:55 PM
HPD
Thank you all very much!!!

Got it to work, and easy once I get it sink in!!

Bill


WebFOCUS 7.6.10
Window 2003 64 bit
Output: many
June 02, 2010, 05:58 PM
Waz
FYI,

You can also get a list of users when logged into MRE with this call.

{Web Server}/ibi_apps/WFServlet?IBIMR_action=MR_GET_USERS&IBIMR_returntype=mrexml&IBIMR_Random={random number}



Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

June 03, 2010, 08:14 AM
CLH
A little off topic however we have used an oracle backend to contain our user information since 7.6.4. Do a search on realm driver. The main issues is that is has to be a new install as there is no utility to convert users that are in the current default (htm files) to this. Or I guess if you had a limited number of users you could reenter everyone.


Webfocus 8.0.7 on Windows