473,402 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

How do I know if a user has logged on to our LAN

BVM
Hi, Friends:

Our reception lady wants to know if a staff is in office or not when a call comes in. I think if this staff has logged on to the network, he probably in office. Otherwise he is not in office. So given by a staff login ID, how can I know if the staff has logged in to the network?

Thanks,

Dennis
Nov 16 '05 #1
7 1754
I don't know what the organizational rules are for your company as far as
processes go, but a person logged into a machine does not necessarily mean
they are in the building. A person may just lock their computer when they
leave.

"BVM" <De*****@TBH.com.au> wrote in message
news:eQ**************@TK2MSFTNGP15.phx.gbl...
Hi, Friends:

Our reception lady wants to know if a staff is in office or not when a call
comes in. I think if this staff has logged on to the network, he probably in
office. Otherwise he is not in office. So given by a staff login ID, how can
I know if the staff has logged in to the network?

Thanks,

Dennis
Nov 16 '05 #2
If you have access rights to AD structure then you can try that.
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:OL*************@TK2MSFTNGP10.phx.gbl...
I don't know what the organizational rules are for your company as far as
processes go, but a person logged into a machine does not necessarily mean
they are in the building. A person may just lock their computer when they
leave.

"BVM" <De*****@TBH.com.au> wrote in message
news:eQ**************@TK2MSFTNGP15.phx.gbl...
Hi, Friends:

Our reception lady wants to know if a staff is in office or not when a
call
comes in. I think if this staff has logged on to the network, he probably
in
office. Otherwise he is not in office. So given by a staff login ID, how
can
I know if the staff has logged in to the network?

Thanks,

Dennis

Nov 16 '05 #3
BVM
Thanks, Can you tell me how?

Dennis Huang

"Chang" <po******@hotmail.com> wrote in message
news:uo**************@TK2MSFTNGP11.phx.gbl...
If you have access rights to AD structure then you can try that.
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:OL*************@TK2MSFTNGP10.phx.gbl...
I don't know what the organizational rules are for your company as far as
processes go, but a person logged into a machine does not necessarily
mean
they are in the building. A person may just lock their computer when
they
leave.

"BVM" <De*****@TBH.com.au> wrote in message
news:eQ**************@TK2MSFTNGP15.phx.gbl...
Hi, Friends:

Our reception lady wants to know if a staff is in office or not when a
call
comes in. I think if this staff has logged on to the network, he probably
in
office. Otherwise he is not in office. So given by a staff login ID, how
can
I know if the staff has logged in to the network?

Thanks,

Dennis


Nov 16 '05 #4
http://www.ondotnet.com/pub/a/dotnet..._chap1/?page=2

"BVM" <De*****@TBH.com.au> wrote in message
news:Ok**************@TK2MSFTNGP14.phx.gbl...
Thanks, Can you tell me how?

Dennis Huang

"Chang" <po******@hotmail.com> wrote in message
news:uo**************@TK2MSFTNGP11.phx.gbl...
If you have access rights to AD structure then you can try that.
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:OL*************@TK2MSFTNGP10.phx.gbl...
I don't know what the organizational rules are for your company as far as
processes go, but a person logged into a machine does not necessarily
mean
they are in the building. A person may just lock their computer when
they
leave.

"BVM" <De*****@TBH.com.au> wrote in message
news:eQ**************@TK2MSFTNGP15.phx.gbl...
Hi, Friends:

Our reception lady wants to know if a staff is in office or not when a
call
comes in. I think if this staff has logged on to the network, he
probably in
office. Otherwise he is not in office. So given by a staff login ID, how
can
I know if the staff has logged in to the network?

Thanks,

Dennis



Nov 16 '05 #5
I'm at least partly guessing here.... but I think it's always going to come
down to how you define 'in the office'

Even if you figure out how to access AD information (which I've never seen
explained sensibly - decent guide to LDAP queries anyone?) then I think
that's just going to give you 'last login date/time' which I don't think is
going to do the job.

Alternative method... at login write that information back to a central log
file (we use ScriptLogic where that functionality is built in, if you don't
have a scripting tool then that it might need some work). Your
receptionist's app then just has to look at that file, find the last login
time for the staff member and show that to the receptionist (i.e. simple
read of a text file)

I'd have to say that a board down in the entrance hall where staff manually
slide a little piece of wood to say that they're either in or out is going
to be more reliable. And if it doesn't work then you can blame them.
"BVM" <De*****@TBH.com.au> wrote in message
news:Ok**************@TK2MSFTNGP14.phx.gbl...
Thanks, Can you tell me how?

Dennis Huang

"Chang" <po******@hotmail.com> wrote in message
news:uo**************@TK2MSFTNGP11.phx.gbl...
If you have access rights to AD structure then you can try that.
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:OL*************@TK2MSFTNGP10.phx.gbl...
I don't know what the organizational rules are for your company as far as processes go, but a person logged into a machine does not necessarily
mean
they are in the building. A person may just lock their computer when
they
leave.

"BVM" <De*****@TBH.com.au> wrote in message
news:eQ**************@TK2MSFTNGP15.phx.gbl...
Hi, Friends:

Our reception lady wants to know if a staff is in office or not when a
call
comes in. I think if this staff has logged on to the network, he probably in
office. Otherwise he is not in office. So given by a staff login ID, how can
I know if the staff has logged in to the network?

Thanks,

Dennis



Nov 16 '05 #6
BVM
haha...Thanks Rob. It's more complex than I originally thought.

Our staff usually shutdown their computer when they go home. So I just use
the lastLoginDate to roughly say they are in office or not.

Thanks,

Dennis
"Rob Oldfield" <bl**@blah.com> wrote in message
news:eI**************@TK2MSFTNGP10.phx.gbl...
I'm at least partly guessing here.... but I think it's always going to
come
down to how you define 'in the office'

Even if you figure out how to access AD information (which I've never seen
explained sensibly - decent guide to LDAP queries anyone?) then I think
that's just going to give you 'last login date/time' which I don't think
is
going to do the job.

Alternative method... at login write that information back to a central
log
file (we use ScriptLogic where that functionality is built in, if you
don't
have a scripting tool then that it might need some work). Your
receptionist's app then just has to look at that file, find the last login
time for the staff member and show that to the receptionist (i.e. simple
read of a text file)

I'd have to say that a board down in the entrance hall where staff
manually
slide a little piece of wood to say that they're either in or out is going
to be more reliable. And if it doesn't work then you can blame them.
"BVM" <De*****@TBH.com.au> wrote in message
news:Ok**************@TK2MSFTNGP14.phx.gbl...
Thanks, Can you tell me how?

Dennis Huang

"Chang" <po******@hotmail.com> wrote in message
news:uo**************@TK2MSFTNGP11.phx.gbl...
> If you have access rights to AD structure then you can try that.
>
>
> "Peter Rilling" <pe***@nospam.rilling.net> wrote in message
> news:OL*************@TK2MSFTNGP10.phx.gbl...
>>I don't know what the organizational rules are for your company as far as >> processes go, but a person logged into a machine does not necessarily
>> mean
>> they are in the building. A person may just lock their computer when
>> they
>> leave.
>>
>> "BVM" <De*****@TBH.com.au> wrote in message
>> news:eQ**************@TK2MSFTNGP15.phx.gbl...
>> Hi, Friends:
>>
>> Our reception lady wants to know if a staff is in office or not when a
>> call
>> comes in. I think if this staff has logged on to the network, he probably >> in
>> office. Otherwise he is not in office. So given by a staff login ID, how >> can
>> I know if the staff has logged in to the network?
>>
>> Thanks,
>>
>> Dennis
>>
>>
>
>



Nov 16 '05 #7
BVM
Thanks Chang. It's very useful.

Dennis
"Chang" <po******@hotmail.com> wrote in message
news:O4*************@TK2MSFTNGP15.phx.gbl...
http://www.ondotnet.com/pub/a/dotnet..._chap1/?page=2

"BVM" <De*****@TBH.com.au> wrote in message
news:Ok**************@TK2MSFTNGP14.phx.gbl...
Thanks, Can you tell me how?

Dennis Huang

"Chang" <po******@hotmail.com> wrote in message
news:uo**************@TK2MSFTNGP11.phx.gbl...
If you have access rights to AD structure then you can try that.
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:OL*************@TK2MSFTNGP10.phx.gbl...
I don't know what the organizational rules are for your company as far
as
processes go, but a person logged into a machine does not necessarily
mean
they are in the building. A person may just lock their computer when
they
leave.

"BVM" <De*****@TBH.com.au> wrote in message
news:eQ**************@TK2MSFTNGP15.phx.gbl...
Hi, Friends:

Our reception lady wants to know if a staff is in office or not when a
call
comes in. I think if this staff has logged on to the network, he
probably in
office. Otherwise he is not in office. So given by a staff login ID,
how can
I know if the staff has logged in to the network?

Thanks,

Dennis



Nov 16 '05 #8

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

Similar topics

2
by: David Krussow | last post by:
The 2nd parameter of the method controls whether a persistent cookie is created - so that ASP.NET can "know" if the current user has been previously authenticated (during previous browser...
4
by: Brian Lowe | last post by:
I'm using Forms authentication with my user data in a SQL db. I have pages in the main appliaction folder accessible to anonymous users and I've set security to deny annonymous users access to...
6
by: Randall Parker | last post by:
Suppose the first URL a visitor visits is Logon.aspx. There's not an original page to return the user to. So how can I detect whether to send the user to the original page he tried to visit versus...
4
by: Jarod_24 | last post by:
How do a windows-service detect whether a user is logged or not on a computer? So far i've found nothing in the windows api or any code examples that will allow me to figure this out. The...
1
by: muchexie | last post by:
i have developed a log in system which is a starting point for my online learning system i'm developing. i'm failing to log in possibly the system is not able to register a user as a valid user.The...
10
by: muchexie | last post by:
i have developed a log in system which is a starting point for my online learning system i'm developing. i'm failing to log in possibly the system is not able to register a user as a valid user.The...
15
by: paul814 | last post by:
Is it possible to display the logged in user that is accessing the form, in a textbox? so say I have txtname I want to display the username of the person that is logged in to the PC in that...
2
by: moorcroft | last post by:
Hi, I'm developing a web application using ASP .Net and C# as code behind. On my home page Index.aspx I have login textbox's so if you correctly enter your username and password it says "You have...
9
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.