Topic Options
Rate This Topic
#97602 - 03/24/04 03:15 PM Re: Remedy command line interface
kenneth_young Offline
journeyman

Registered: 03/11/04
Posts: 99
Mike - I don't know the answer to your question, but the direction I would probably go with it is to write a small vbscript or even compile an exe that can receive (or grab) the necessary parameters and then invokes the user tool via COM.

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:ARSLIST@ARSLIST.ORG]On Behalf Of Ilmer, Mikhail
Sent: Wednesday, March 24, 2004 3:06 PM
To: ARSLIST@ARSLIST.ORG
Subject: Remedy command line interface


Hi List,
Does any one using a command line interface to launch Remedy Client?

For the "single sign on" I need to provide the command line parameters that
should include UserName, UserPassword, RemedyServer, etc in order to launch
remedy client without the login prompt.

The user id and password token would be taken from the windows environment.

Any suggestions?

Rgds,
Mike

------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the
designated recipient(s) named above. If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited. This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers. Email transmission cannot be guaranteed to be
secure or error-free. Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such. All
information is subject to change without notice.



******************************************************************************************
The information contained in this message, including attachments, may contain
privileged or confidential information that is intended to be delivered only to the
person identified above. If you are not the intended recipient, or the person
responsible for delivering this message to the intended recipient, ALLTEL requests
that you immediately notify the sender and asks that you do not read the message or its
attachments, and that you delete them without copying or sending them to anyone else.




Top
#97603 - 03/24/04 09:05 AM Remedy command line interface [Re: ken_lapierre]
milmer Offline
journeyman

Registered: 03/11/04
Posts: 93
Hi List,
Does any one using a command line interface to launch Remedy Client?

For the "single sign on" I need to provide the command line parameters that
should include UserName, UserPassword, RemedyServer, etc in order to launch
remedy client without the login prompt.

The user id and password token would be taken from the windows environment.

Any suggestions?

Rgds,
Mike

------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the
designated recipient(s) named above. If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited. This
communication is for information purposes only and should not be regarded as
an offer to sell or as a solicitation of an offer to buy any financial
product, an official confirmation of any transaction, or as an official
statement of Lehman Brothers. Email transmission cannot be guaranteed to be
secure or error-free. Therefore, we do not represent that this information is
complete or accurate and it should not be relied upon as such. All
information is subject to change without notice.




Top
#97604 - 03/25/04 03:51 AM Re: Remedy command line interface [Re: ken_lapierre]
mleblanc2 Offline
newbie

Registered: 03/11/04
Posts: 20
Loc: Montreal, Qc, Canada
Hi Kenneth,

If you are building an applet that will grab the Windows user Id &
Password, I imagine you are trying to automate the login process for single
point of entry login/password.

How about an indirect route? Here's an approach that might be inspiring.

The AR.ini file contains the 'Prompt for Login' entry along with the user
Id, password & server parameters.
You could modify it right before calling the aruser.exe, and probably even
change the data to '' after the user closes the application (involves
leaving your process running in the background, but with proper resource
management included, it shouldn't be a problem), so that if different users
use the machine, they couldn't use the previous user's id by clicking the
shortcut instead of your applet.

Only hurdle that I see is that the password is encrypted in the .ini file.
Did not look into circumventing that.

Good luck and let us know if you find a solution to your request.
Marcel LeBlanc
Remedy Support
CSC




Top
#97605 - 04/04/04 01:49 PM Re: Remedy command line interface [Re: ken_lapierre]
programmer80 Offline
Stealth Member

Registered: 04/03/04
Posts: 5
Loc: OH, US
Hi Lister,
I saw this posting few days agao and I have been wondering about it. The
easiset for the "single sign on" I need to provide the command line
parameters that should include UserName, userPassword, RemedyServer, etc in
order to launch remedy client without the login prompt is to have a vb
script that that will launce the remedy and you can enclude the username and
password within the vbs. Also if you are worried about the people knowking
the password you can always use the encoder that is freely available from
microsoft via:

http://www.microsoft.com/downloads/details.aspx?FamilyID=e7877f67-c447-4873-b1b0-21f0626a6329&displaylang=en

Vbs script sample :
------------------------------------------
Dim App
Dim ARForm
Dim sessionId

' create a new Remedy User
Set App = CreateObject("Remedy.User")

' login, username and password
sessionId = App.Login("Demo","",False)


' open a form in New mode, session id is from the above login call followed
by
' the server name, form name, mode:1=New, 2=Search, Visible=True or False
Set ARForm = App.OpenForm(sessionId,"server name", "Form Name",1,True)

-------------------------------------

Copy the above file text to a vbs file and than use screnc to encode the
script. Hope this helps.

Cheers,
P80


MSN Toolbar provides one-click access to Hotmail from any Web page – FREE
download! http://toolbar.msn.com/go/onm00200413ave/direct/01/




Top


Moderator:  Matt Reinfeldt