how could i get the user currently logged on the other computer.,
what do i need to get for it,.
wat is the a way for it.,
Hello,
I do made a Program that run on the network, my approached to your question is simple.
1. On my database i have a table for Login an the fields for instance are Username(dataty pe "text"), Password(dataty pe "text"), and Loged(datatype "yes/no").
2. the field "Loged" is to be checked when the USERLogged for that Particular username and password. and when [ANOTHER USER used the same username and password then a msgbox told that "another user has login with this account". the second user with the same username and password can't login because that particular account was used, in that way you can determined now that somebodu uses uses your account.
3. when the user has log-off the program then the field "Loged" now is to be unchecked.
1.When a user is trying to login pls check the in database whether the username is available in Database.
2.If username is not available display a message "Invalid User" and go to step1
3.If username is available then check whether the Logged field of particular record is No
4.If the logged field of particular user is No You can proceed your work.
5.If the logged filed of that particular user is Yes display a message "Already Logged in..Try a different user " and goto step1
I hope this will work good...I need ur reply at s.ariharan@yaho o.co.in
I have read an article that it can retrieve the user currently logged on other computer.,
but the problem is the OS restrictions.,
it doesnt support the OS 98.,
it uses the api NetUserGetInfo( )
this is the site of the article i have read.,
http://vbnet.mvps.org/index.html?code/network/netusergetinfo. htm
is there any api that can be used in OS 98 for to retrieve users info on other computers.,
Comment