Re: Login information in ADS LDAP Tree

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: John Howard [MSFT] (jhoward_at_online.microsoft.com)
Date: 11/03/04


Date: Wed, 3 Nov 2004 21:14:35 -0000

Hi Raman

The IADsUser object in ADSI has the property LastLogin (see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/iadsuser_property_methods.asp).
If I recall correctly, you will need to open the user object on each Domain
Controller - the property will only be set if the user has logged onto that
domain controller. If the property is not set on any DC, the user hasn't
logged on. Has been a while since I looked at this, but I did something
similar to this a couple of years ago. There may be a better way, but I'll
leave that to the AD developers to answer if there is....

Hope this helps.
John.

-- 
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send e-mail directly to this alias. This alias is for 
newsgroup purposes only.
"Raman" <Raman@discussions.microsoft.com> wrote in message 
news:A6963138-04FC-4D79-8CDC-D4D1B6693858@microsoft.com...
> Hi,
>
> How in ADS, we can figure out whether a user has logged in, by browsing 
> the
> LDAP tree
>
> Thanks
>
> Raman 


Relevant Pages

  • Re: Lost all network connectivity after clean FC3 install
    ... 00:00.0 Host bridge: VIA Technologies, ... 00:04.2 USB Controller: VIA Technologies, ... alias eth0 tulip ... alias eth1 8139too ...
    (Fedora)
  • FC4 broken SB Audigy controls
    ... I have used the same SB Audigy card for 3 years and never had a problem ... alias eth0 3c59x ... 01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 ... 02:01.0 USB Controller: NEC Corporation USB ...
    (Fedora)
  • OSS okay, ALSA not; snd_intel8x0 on FC2
    ... I had ALSA working happily on the 82801EB/ER sound built into this ... Intel motherboard with Fedora Core 1, ... 00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev ... alias eth0 e100 ...
    (Fedora)
  • RE: unable to get online with Verizon DSL under Fedora ( 82562ET NIC )
    ... I had the same issue back in the day with Verizon DSL. ... is reduce the max transmissable rate on the network device. ... alias scsi_hostadapter ata_piix ... Family) AC'97 Audio Controller ...
    (Fedora)