Hi
pls find the ultimate answer from Christoph above...
Yo need to define a new "login type" in the mentioned VARA and select exactly this newly created one in the login object holding your credentials...
due to security reasons, OS types are not allowed...
you can use this function (get_login_type) in all OS jobs with this trick.
and in all other jobs without the trick which need a login object
cheers, Wolfgang
------------------------------
Support Info:
if you are using one of the latest version of UC4 / AWA / One Automation please get in contact with Support to open a ticket.
Otherwise update/upgrade your system and check if the problem still exists.
------------------------------
Original Message:
Sent: 12-07-2021 06:33 AM
From: Derrick Williams
Subject: How to get password from login object
Hi All
This is the very thread i have been looking for. But may i add another phase to the question. In what object can you run those commands. I have tried with a JOBS->WINDOWS object, where i have entered those commands in the Process tab and PreProcess tab, but i get the error
attribute 'LOGIN.DLW' is not allowed for object type 'JOBS/WINDOWS'.
May I ask which Object(s) accepts those commands?
------------------------------
[JobTitle]
[State]
Original Message:
Sent: 03-09-2021 10:38 AM
From: Christoph Rekers
Subject: How to get password from login object
Hi @BhanuPrasad Hebbare
GET_LOGIN only works if you've created an entry in UC_LOGIN_TYPES. Once created, the entry appears in the typ column of any Login object. Assign a user and a password. GET_LOGIN can than read user and password from this type of entry, but never from a "normal" agent. That would be a little bit to easy...
Christoph
------------------------------
----------------------------------------------------------------
Automic AE Consultant and Trainer since 2000
Original Message:
Sent: 03-08-2021 05:11 PM
From: BhanuPrasad Hebbare
Subject: How to get password from login object
Hi,
How to get password from login object and pass it to sqlplus command thru unix job. I tried with GET_LOGIN script but it is failing, seems to be encrypted password. Please suggest,