Announcement

Collapse
No announcement yet.

NT/2000 Return all logged in users..

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Scott Turchin
    replied
    Awesome site, good stuff there...
    I'm also going to compare how he grabs html files vs how I am doing it...

    Thanks, think that one will do the trick..

    Scott

    ------------------
    Scott
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Brent Eldstrom
    Guest replied
    Have a look at the VBAdminCode site. It has lots of good VB code that's easy to port to PB. There is one sample there call LoggedOn that does exactly what you want.
    http://www.netfokus.dk/vbadmincode/

    Brent...

    ------------------

    Leave a comment:


  • Scott Turchin
    replied
    Interesting that NET SESSIONS only works on NT, but that makes sense since that is where the users accounts are....

    So there has to be an api to enum all of that, same as before...
    I'll keep looking, thanks!

    Scott

    ------------------
    Scott
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • John McWilliams
    replied
    These may help:

    http://www.ntfaq.com/ntfaq/network26.html
    http://www.jsiinc.com/tip0200/rh0296.htm

    ------------------

    Leave a comment:


  • John McWilliams
    replied
    Scott, I don't think there is a method of returning just logged on users. There are a number of API's to enumerate the user accounts on a local machine and a domain. Florent posted some code in the Source section that will enumerate users, machines, and group accounts using the NetQueryDisplayInformation function. I've seen some hacks that allow you to "register" users when their LOGON script runs, I'll see if I can find an example for you.

    -John

    ------------------

    Leave a comment:


  • Semen Matusovski
    replied
    Scott --
    visit http://www.mvps.org/vbnet/ and search
    Enumerating the User List and Obtaining User Info
    (VB code)

    ------------------

    Leave a comment:


  • Scott Turchin
    started a topic NT/2000 Return all logged in users..

    NT/2000 Return all logged in users..

    Does anyone have any idea how to go about getting started finding all logged on users to the NT domain?
    I know there are ways in NT to do it but I sorta want to write my own app...


    Scott

    -------------
    Scott
    mailto:[email protected][email protected]</A>
Working...
X