BadreNarayanan.V's Radio Weblog




Weblogs

















Microsoft Specs




Security


Personal Friend



Subscribe to "BadreNarayanan.V's Radio Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.


Tuesday, February 25, 2003
 

Getting the LogonName using ADSI


I was working on a task to read user information from Active directory - such as Logon name, first name, last name, email, phone  e.t.c using ADSI in VC++. By using the IAdsUser Interface we get most of the user properties. Its simple. But I could not find a way to get the logon name form the IAdsUser Interface.  After hours of research I find out, a way to get logon name

pAdsUser->Get("sAMAccountName", bstrLogonName) you get the Logon name.

I felt this could have been documented well in MSDN, which could have saved many hours for the new users.


4:32:51 PM   comment_[]


New URL for my blog. Don's days of emacs blogging are behind him... [Don Box's Spoutlet]
4:19:47 PM   comment_[]


Using Delegates Asynchronusly. There's a new article up on O'Reilly today written by Richard Blewitt entitled Using Delegates Asynchronusly. ...more... [Drew's Blog]
4:19:26 PM   comment_[]


Inside the Windows Deveopment Process.

A look at how Microsoft develops and maintains the Windows operating system. Fascinating reading for developers! [sellsbrothers.com: Windows Developer News]

Facinating indeed! When I think about how we run this company on only four developers and the challenges we face with versioning and source control, I can't even begin to imagine what working with 4999 other developers must be like. Of course in a larger company you actually have people whose role it is to manage these things, as opposed to here where I'll kinda define a standard and we all try and follow it. ;)

Anyway, check out the article, definitely a good read. Oh, and if you've never read Show-Stopper!, I suggest checking that out as well.

[Drew's Blog]
4:18:58 PM   comment_[]


Click here to visit the Radio UserLand website. © Copyright 2003 BadreNarayanan.V.
Last update: 9/28/2003; 12:15:59 PM.
February 2003
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28  
Jan   Mar