Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Access Environment Variable for FormsWeb.Cfg File

sharpeMar 30 2011 — edited Mar 31 2011
Can I access an environment varaible as a user launches a form? There is a userid parameter in the FormsWeb.Cfg file. I'm confused as to why this parameter is in this file as it would mean that every user open my form would get the same username and password:
FormsWeb.Cfg:
userid=myUser/myPass@sparc20
I'm hoping there is a way to make this more dynamic. I want each user to login as themselves automatically. In our system each user has there username and password stored in environment variables named ORAUSER and ORAPASS. I'd like for resolve these values inside the 'userid' parameter that is set in the FormsWeb.Cfg file.

Is there anyway to do this?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 28 2011
Added on Mar 30 2011
22 comments
1,890 views