Focal Point
Table request for specific userid/pwd

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

April 30, 2007, 04:32 PM
Code Digger
Table request for specific userid/pwd
Hi,

Can I make a table request for a specific userid and password.

e.g.

-some set cmd for setting user id pwd

TABLE FILE TBLNAME
PRINT *
END

the above code should run for the userid set before the table request.

Regards
CD
April 30, 2007, 04:38 PM
Darin Lee
As in

TABLE FILE TBLNAME
PRINT *
WHERE USER_ID EQ '&USERID'
END

??


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
April 30, 2007, 04:46 PM
Code Digger
something like

SET or ENGINE command for setting USERID & PWD
(like we have ENGINE DB2 SET CONNECTION_ATTRIBUTES DBName/Userid,Pwd) for SQL passthru

and then fetch the data as per this ID and PWD.

I need a similar command mentioned above but for TABLE Requests not passthru
May 01, 2007, 09:57 AM
Brian Suter
I am not exactly what you are looking for ...
If you want the TABLE command to run with the user athority (opsys enforcement of file access), then run a secured server.
And doing the ENGINE command to set user/password will cause the shipped SQL that TABLE gnerates under the covers to run with that connection id.
Lastly, if you are looking for row level screening on databases (usually focus) you can use DBA.


Brian Suter
VP WebFOCUS Product Development