DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Page 3 of 3 FirstFirst 123
Results 31 to 41 of 41

Thread: Howto Get Windows NT Domain\Username

  1. #31
    L.J. Johnson Guest

    Re: Howto Get Windows NT Domain\Username

    Chris,

    > Hmm. Interesting. I wonder if the radmin32.dll is the same. The only one
    > I've ever run across is 3.51.867.1 (10/14/96, 455KB, 516 functions).


    Just downloaded and installed ADSI 2.5 for Win98 and checked the file. It's
    listed as version 3.51, 1/21/99. So it's probably not exactly the *same*,
    but ADSI (and WMI) for Win9x have many of the same requirements as the admin
    tools -- they need to access the "cool" network functions, and probably good
    that they didn't re-write the 16-bit thunking for each one.

    --
    L.J. Johnson, Slightly Tilted Software
    Microsoft MVP (Visual Basic)
    LJJohnson@SlightlyTiltedSoftware.com or LJJohnson@mvps.org
    <http://www.SlightlyTiltedSoftware.com>
    Ask The NT Pro at <http://www.devx.com/gethelp>




  2. #32
    Klaus H. Probst Guest

    Re: Howto Get Windows NT Domain\Username

    > It seems that your long tong is the only thing you use well nowadays.

    Thanks Roy!

    ____________
    Klaus




  3. #33
    Klaus H. Probst Guest

    Re: Howto Get Windows NT Domain\Username

    > It seems that your long tong is the only thing you use well nowadays.

    Thanks Roy!

    ____________
    Klaus




  4. #34
    Karl E. Peterson Guest

    Re: Howto Get Windows NT Domain\Username

    Hi L.J. --

    > Although I almost never use Win9x, I'd be curious about a solution that
    > works in these OSs. I didn't see anything interesting in the 19 Net...
    > functions available on Win9x, and I'm not certain about the WNet...
    > functions.


    Found at: http://msdn.microsoft.com/library/en...sgetdcname.asp

    DSClient for Windows 95/98: The DsGetDcName function is exported from
    Logonsrv.dll. There is no corresponding library file. Note that this
    differs from Windows 2000, in which DsGetDcName is exported by Netapi32.dll
    and the library file is Netapi32.lib.

    also:

    Windows NT/2000/XP: Included in Windows 2000 and later.
    Redistributable: Requires Active Directory Client Extension on Windows
    NT 4.0 SP6a and Windows 95/98/Me.

    Never tried it, of course, but...?

    Later... Karl
    --
    http://www.mvps.org/vb



  5. #35
    Karl E. Peterson Guest

    Re: Howto Get Windows NT Domain\Username

    Hi L.J. --

    > Although I almost never use Win9x, I'd be curious about a solution that
    > works in these OSs. I didn't see anything interesting in the 19 Net...
    > functions available on Win9x, and I'm not certain about the WNet...
    > functions.


    Found at: http://msdn.microsoft.com/library/en...sgetdcname.asp

    DSClient for Windows 95/98: The DsGetDcName function is exported from
    Logonsrv.dll. There is no corresponding library file. Note that this
    differs from Windows 2000, in which DsGetDcName is exported by Netapi32.dll
    and the library file is Netapi32.lib.

    also:

    Windows NT/2000/XP: Included in Windows 2000 and later.
    Redistributable: Requires Active Directory Client Extension on Windows
    NT 4.0 SP6a and Windows 95/98/Me.

    Never tried it, of course, but...?

    Later... Karl
    --
    http://www.mvps.org/vb



  6. #36
    L.J. Johnson Guest

    Re: Howto Get Windows NT Domain\Username

    Karl,

    > Windows NT/2000/XP: Included in Windows 2000 and later.
    > Redistributable: Requires Active Directory Client Extension on Windows
    > NT 4.0 SP6a and Windows 95/98/Me.


    Sigh...

    I was hoping for a solution that didn't require installing ADSI (in this
    case) or WMI.

    --
    L.J. Johnson, Slightly Tilted Software
    Microsoft MVP (Visual Basic)
    LJJohnson@SlightlyTiltedSoftware.com or LJJohnson@mvps.org
    <http://www.SlightlyTiltedSoftware.com>
    Ask The NT Pro at <http://www.devx.com/gethelp>




  7. #37
    L.J. Johnson Guest

    Re: Howto Get Windows NT Domain\Username

    Karl,

    > Windows NT/2000/XP: Included in Windows 2000 and later.
    > Redistributable: Requires Active Directory Client Extension on Windows
    > NT 4.0 SP6a and Windows 95/98/Me.


    Sigh...

    I was hoping for a solution that didn't require installing ADSI (in this
    case) or WMI.

    --
    L.J. Johnson, Slightly Tilted Software
    Microsoft MVP (Visual Basic)
    LJJohnson@SlightlyTiltedSoftware.com or LJJohnson@mvps.org
    <http://www.SlightlyTiltedSoftware.com>
    Ask The NT Pro at <http://www.devx.com/gethelp>




  8. #38
    Karl E. Peterson Guest

    Re: Howto Get Windows NT Domain\Username

    Hi L.J. --

    > > Windows NT/2000/XP: Included in Windows 2000 and later.
    > > Redistributable: Requires Active Directory Client Extension on Windows
    > > NT 4.0 SP6a and Windows 95/98/Me.

    >
    > Sigh...
    >
    > I was hoping for a solution that didn't require installing ADSI (in this
    > case) or WMI.


    And I take it Logonsrv.dll is included in that? (No idea, honestly.)

    Sorry... Karl
    --
    http://www.mvps.org/vb



  9. #39
    Karl E. Peterson Guest

    Re: Howto Get Windows NT Domain\Username

    Hi L.J. --

    > > Windows NT/2000/XP: Included in Windows 2000 and later.
    > > Redistributable: Requires Active Directory Client Extension on Windows
    > > NT 4.0 SP6a and Windows 95/98/Me.

    >
    > Sigh...
    >
    > I was hoping for a solution that didn't require installing ADSI (in this
    > case) or WMI.


    And I take it Logonsrv.dll is included in that? (No idea, honestly.)

    Sorry... Karl
    --
    http://www.mvps.org/vb



  10. #40
    L.J. Johnson Guest

    Re: Howto Get Windows NT Domain\Username

    Karl,

    > And I take it Logonsrv.dll is included in that? (No idea, honestly.)


    Well, it *says* it's required (Requires Active Directory Client Extension),
    and my son's machine (which has Win98 but never had ADSI installed) doesn't
    have it on it.

    --
    L.J. Johnson, Slightly Tilted Software
    Microsoft MVP (Visual Basic)
    LJJohnson@SlightlyTiltedSoftware.com or LJJohnson@mvps.org
    <http://www.SlightlyTiltedSoftware.com>
    Ask The NT Pro at <http://www.devx.com/gethelp>




  11. #41
    L.J. Johnson Guest

    Re: Howto Get Windows NT Domain\Username

    Karl,

    > And I take it Logonsrv.dll is included in that? (No idea, honestly.)


    Well, it *says* it's required (Requires Active Directory Client Extension),
    and my son's machine (which has Win98 but never had ADSI installed) doesn't
    have it on it.

    --
    L.J. Johnson, Slightly Tilted Software
    Microsoft MVP (Visual Basic)
    LJJohnson@SlightlyTiltedSoftware.com or LJJohnson@mvps.org
    <http://www.SlightlyTiltedSoftware.com>
    Ask The NT Pro at <http://www.devx.com/gethelp>




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center