Yes, the method below will capture the user's network (OS) username, NOT the ARS username.
-----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of gok's Sent: Thursday, November 13, 2008 11:25 AM To: [email protected] Subject: Re: how can I capture system ID HI, Thank you for you responce's I mean OS log in ID not ARS log in ID. If any body got ideas please post thank you. Kaiser Norm E CIV USAF 96 CS/SCCE wrote: > > Gok: > > I assume by "LAN ID" you mean the user's username? > > If you're trying to capture this through the Midtier, you could try > this: > > Create a little Java function in a .jsp file and put it in your "shared" > folder on your Midtier: > > Name the file something like /arsys/shared/get_remote_user.jsp. > > get_remote_user.jsp contains: > > function env_ip_var() > { > var return_value = "<%=request.getRemoteUser()%>"; > return (return_value) > } > > In the Web Header content of the form you want to capture this on, > add... > > <SCRIPT src="/arsys/shared/get_remote_user.jsp" > language="JavaScript"></SCRIPT> > > To set a field with the data from the JavaScript functions do the > following in an active link... > > Run Process Command Line: > javascript:window.F(XXXXXXXX).DoSet(env_hostname()); > > Be sure to change XXXXXXXX with the field ID of the field you want to > set. > > I think this might work. > > Norm > > > > -----Original Message----- > From: Action Request System discussion list(ARSList) > [mailto:[EMAIL PROTECTED] On Behalf Of gok's > Sent: Thursday, November 13, 2008 8:38 AM > To: [email protected] > Subject: how can I capture system ID > > HI, > I want set to capture user id or lan ID how can I do that. > I am using ARS 7.0 > database sybase > -- > View this message in context: > http://www.nabble.com/how-can-I-capture-system-ID-tp20481624p20481624.ht > ml > Sent from the ARS (Action Request System) mailing list archive at > Nabble.com. > > ________________________________________________________________________ > _______ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" > > ________________________________________________________________________ _______ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" > > -- View this message in context: http://www.nabble.com/how-can-I-capture-system-ID-tp20481624p20484321.ht ml Sent from the ARS (Action Request System) mailing list archive at Nabble.com. ________________________________________________________________________ _______ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

