Try this:

$PROCESS$ cmd /c "set USERNAME"
$PROCESS$ cmd /c "set COMPUTERNAME"

Other stuff:

$PROCESS$ cmd /c "set USERPROFILE"
$PROCESS$ cmd /c "set windir"
$PROCESS$ cmd /c "set OS"
$PROCESS$ cmd /c "set USERDOMAIN"
$PROCESS$ cmd /c "set LOGONSERVER"

If anyone knows an easy way to capture the IP address, please let me
know.

HTH,
Kelvin



-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Hennigan, Sandra H CTR OSD-CIO
Sent: Thursday, March 19, 2009 2:23 PM
To: [email protected]
Subject: Re: Capture ComputerName and UserName (U)

UNCLASSIFIED

The AL captures the computer name but not the Windows' user name.

Sandra Hennigan

Remedy Developer

 

From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Feliciano, Ferdinand, A
(Rocky)
Sent: Thursday, March 19, 2009 10:46 AM
To: [email protected]
Subject: Re: Capture ComputerName and UserName

 

** 

Do an Active Link instead of Filters.  Filters run on the server side.
That's why you're getting the server's information.

 

 

 

From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Scott Illari
Sent: Thursday, March 19, 2009 10:34 AM
To: [email protected]
Subject: Re: Capture ComputerName and UserName

 

** 

Jason,

 

You won't be able to gather the user's computer information thru a
filter since they run on the server.  You will need to run your
$PROCESS$ command in an active link without using "@@".  Since you are
attempting to do this in a filter, I am assuming timing does not matter
so you can capture it on window open, window loaded, display, submit,
modify..............in the active link.

 

Hope this helps.

 

Scott Illari

908-601-8948

http://www.linkedin.com/in/scottillari
<http://www.linkedin.com/in/scottillari> 

 

 

 

From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Jason Tricky
Sent: Thursday, March 19, 2009 10:27 AM
To: [email protected]
Subject: Capture ComputerName and UserName

 

** 
I'm trying to capture the computername and windows username using a
filter.

 

I tried using Set Fields = $PROCESS$ %COMSPEC% /c echo %COMPUTERNAME%
but I get and error -- ARERR [341] Cannot run the requested process

 

Tried using $PROCESS$ c:\windows\system32\cmd.exe /c hostname and I get
the Remedy Server information instead of the clients.

 

Thanks,

Jason


__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
html___

__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
html___

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

Reply via email to