Username Display [message #558018] |
Mon, 18 June 2012 21:47 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](http://www.gravatar.com/avatar/177de7e90e71d56943117a8c268e0449?s=64&d=mm&r=g) |
Sumanjeet
Messages: 1 Registered: June 2012
|
Junior Member |
|
|
Hi All,
some1 help please,,,i want to display the current database username in a text field after logging in at run time,i.e after logging in the username should should display in a text field.e,g,,if i login as scott then 'scott' should display in the text box
|
|
|
|
|
Re: Username Display [message #558066 is a reply to message #558064] |
Tue, 19 June 2012 03:30 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](http://www.orafaq.com/forum/images/custom_avatars/72104.gif) |
Littlefoot
Messages: 21813 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
What do you mean by that?
V$DATABASE is not accessible under "default" circumstances (lack of privileges). Besides, I don't think that it contains current username.
Finally, Forms offers USER variable which does exactly what Sumanjeet asked for.
|
|
|