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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Windows NT login in Forms

RE: Windows NT login in Forms

From: Cale, Rick T (Richard) <RICHARD.T.CALE_at_saic.com>
Date: Wed, 19 Jul 2000 08:24:29 -0700
Message-Id: <10563.112421@fatcity.com>


You can use the GET_APPLICATION_INFO which is a forms built-in. When you form app starts it will
start a logon window.

Rick

For ex. in your post-logon trigger you could put DECLARE

  un VARCHAR2(15);
  pw VARCHAR2(15);
  cn VARCHAR2(30);

BEGIN
  GET_CONNECT_INFO(un,pw,cn);
  :global.userid := un;
  :global.passwd := pw;
  :global.service_name := cn;
 

END; You would need to create a program unit something like PROCEDURE Get_Connect_Info( the_username IN OUT VARCHAR2,

	the_password IN OUT VARCHAR2,
	the_connect IN OUT VARCHAR2) IS

BEGIN
  the_username := Get_Application_Property(USERNAME);	
  the_password := Get_Application_Property(PASSWORD);
  the_connect  := Get_Application_Property(CONNECT_STRING);
 

END;
> -----Original Message-----
> From: Lata V [SMTP:todreamboat_at_yahoo.com]
> Sent: Wednesday, July 19, 2000 11:29 AM
> To: Multiple recipients of list ORACLE-L
> Subject: Windows NT login in Forms
>
> Question from a colleague of mine:
>
>
> How can I get my windows NT login user id in my forms
> application. The software I am using is Oracle
> Developer ver. 6.0 for Windows 95/98/NT .
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
> --
> Author: Lata V
> INET: todreamboat_at_yahoo.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
Received on Wed Jul 19 2000 - 10:24:29 CDT

Original text of this message

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