Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: URGENT -> how to get in Forms information about NT user,...

Re: URGENT -> how to get in Forms information about NT user,...

From: Alan Mills <Alan.Mills_at_nospamservices.fujitsu.com>
Date: Mon, 14 Oct 2002 11:07:07 +0100
Message-ID: <aoe50e$qpm$1@news.icl.se>


Won;t this just give detaiols of the current user on the middle tier though?

"Zajc" <zajc2_REMOVE__at_gmx.li> wrote in message news:jjaq9.157$5O5.11730_at_news.siol.net...
> Hi!
>
> In forms you can try:
> -->maybe it is complicated but it works fine
> -->first you must install "d2kwutil.dll"
> ftp://oracle-ftp.oracle.com/dev_tools/patchsets/dev2k/Win95NT/d2kwutil/
> D2KWUTIL.PLL is a comprehensive utility containing many of functions for
the
> Win32 environment that users ask for, which are not included in the Oracle
> Developer Product set by default The utility itself consists simply of a
> PL/SQL library (D2KWUTIL.PLL) and a Windows DLL (D2KWUT60.DLL).
> The utility uses the ORA_FFI package to interact with it's DLL and then
this
> DLL calls the various Windows API functions and some internal code to
carry
> out the requested action.
>
>
> in registry you must tell where "d2kwutil" is
> "HKEY_LOCAL_MACHINE\Software\Oracle\D2KWUTIL60_PATH"
> or use "win_api_preload.set_load_loc(directory where d2kwutil is);"
>
> Then it is easy:
> -for username "Win_Api_Environment.Get_Windows_Username;"
> -for_directory "Win_Api_Environment.Get_Windows_Directory;"
> ...
> ...
> ...
>
> all the information is in the help file...
>
> Boris
>
> "AR" <ar69ra_at_gmx.net> wrote in message
> news:lHRp9.138$5O5.10779_at_news.siol.net...
> > Hello!
> >
> >
> > I was looking in Help of Oracle Developer, but didn't find what i wa
> looking
> > for.
> >
> > So can somebody please help me with next:
> > I have Forms application and i have to get information about:
> > -program_path -> location of the running application
> > -machine -> name of machine
> > -nt_user -> user logged on windows
> >
> > I think that should be retrieved with API functions, but how?
> >
> >
> > tnx for advice
> > AR
> >
> >
>
>
Received on Mon Oct 14 2002 - 05:07:07 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US