473,499 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

User DB with User NT

Hey folks,

I have an user A connected to database DB. On NT this user is logged as B.
So, I want to create a trigger to see when the user tries to connect the
database, it checks to see if user connection and user logged on NT is the
same.

Do I have a variable that returns my user logged on NT ?
My set variables has the user connect on NT, so is there any possibility to
read this variable on the server ??

Thanks in advance,

JP
Jul 19 '05 #1
3 2563
I think it's Oracle 8i (8.1)
"s.kapitza" <sk******@volcanomail.com> wrote in message
news:26**************************@posting.google.c om...
hi,

osuser in v$session might what you are after.

the rest depends on your Oracle Version.

regards

s.kapitza

"Jorge Pinto" <jo****@sympatico.ca> wrote in message

news:<mL*******************@news20.bellglobal.com> ...
Hey folks,

I have an user A connected to database DB. On NT this user is logged as B. So, I want to create a trigger to see when the user tries to connect the
database, it checks to see if user connection and user logged on NT is the same.

Do I have a variable that returns my user logged on NT ?
My set variables has the user connect on NT, so is there any possibility to read this variable on the server ??

Thanks in advance,

JP

Jul 19 '05 #2
My real case is I have a trigger that checks the time that the user is
trying to connect the db and depends on it, I reply to the user's email an
error and the user is not allowed to connect to it.... The user'smail is the
same as his/her login on NT!!!

Thanks in advance....
"Jorge Pinto" <jo****@sympatico.ca> wrote in message
news:mL*******************@news20.bellglobal.com.. .
Hey folks,

I have an user A connected to database DB. On NT this user is logged as B.
So, I want to create a trigger to see when the user tries to connect the
database, it checks to see if user connection and user logged on NT is the
same.

Do I have a variable that returns my user logged on NT ?
My set variables has the user connect on NT, so is there any possibility to read this variable on the server ??

Thanks in advance,

JP

Jul 19 '05 #3
You can create this user with parameter 'EXTERNAL'. The Oracle
authentication is then passed onto the NT. Therefore, eliminating the need
of creating a trigger.

Charles
"Jorge Pinto" <jo****@sympatico.ca> wrote in message
news:mL*******************@news20.bellglobal.com.. .
Hey folks,

I have an user A connected to database DB. On NT this user is logged as B.
So, I want to create a trigger to see when the user tries to connect the
database, it checks to see if user connection and user logged on NT is the
same.

Do I have a variable that returns my user logged on NT ?
My set variables has the user connect on NT, so is there any possibility to read this variable on the server ??

Thanks in advance,

JP

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

60
7200
by: Fotios | last post by:
Hi guys, I have put together a flexible client-side user agent detector (written in js). I thought that some of you may find it useful. Code is here: http://fotios.cc/software/ua_detect.htm ...
3
4109
by: zlst | last post by:
Many technological innovations rely upon User Interface Design to elevate their technical complexity to a usable product. Technology alone may not win user acceptance and subsequent marketability....
6
11264
by: martin | last post by:
Hi, I am a web page and a web user control. My web user control is placed in my web page using the following directive <%@ Register TagPrefix="uc1" TagName="Header"...
1
7536
by: Shourie | last post by:
I've noticed that none of the child controls events are firing for the first time from the dynamic user control. Here is the event cycle. 1) MainPage_load 2) User control1_Load user clicks a...
7
2898
by: jsale | last post by:
I'm currently using ASP.NET with VS2003 and SQL Server 2003. The ASP.NET app i have made is running on IIS v6 and consists of a number of pages that allow the user to read information from the...
0
3914
by: tony | last post by:
Hello! This is a rather long mail but it's a very interesting one. I hope you read it. I have tried several times to get an answer to this mail but I have not get any answer saying something...
2
4803
by: rn5a | last post by:
Assume that a user control (MyUC.ascx) encapsulates 2 TextBoxes with the IDs 'txt1' & 'txt2' respectively. To use this user control in an ASPX page, the following Register directive will be...
1
1954
by: Carlettus | last post by:
Dear All, sorry but I'm not sure if this is the right place to post my problem. I was using the following asp code to create users in Active Directory. Suddenly, and I don't know the reason, users...
0
3198
by: rbukkara | last post by:
Hi, I have got the following error while trying to add a user in the LDAP Directory. javax.naming.NameNotFoundException: ; remaining name 'uid=vassila,ou=People,dc=cs,dc=uno,dc=edu' I have...
9
6254
by: Gordon | last post by:
I want to add a feature to a project I'm working on where i have multiple users set up on my Postgres database with varying levels of access. At the bare minimum there will be a login user who...
0
7131
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7174
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7220
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6894
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4600
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3091
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
297
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.