Active Directory and VB.Net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lenapostantzi@gmail.com

    Active Directory and VB.Net

    Hi all,

    I'm trying to write an app that will "popup" a nice form when the
    user's mail submenu is selected at the AD console so I can add, modify,
    delete and check the mail addresses and aliases of that user.

    In vbscript, in order to bind to the "selected user" at the AD Users &
    Computers console, the Wscript.Argumen ts is used.

    ex. strDN = Wscript.Argumen ts(0)
    Set objUser = GetObject("LDAP ://" & strDN)

    I've found out how to bind to a specific user (with DirectoryEntry) in
    vb.net but can't see how to "catch" the DN of the selected user.

    Is there a way to accomplish something similar with vb.net?

    Many thx,
    Elena

  • Joe Richards [MVP]

    #2
    Re: Active Directory and VB.Net

    You want to pick up this book:




    --
    Joe Richards Microsoft MVP Windows Server Directory Services
    Author of O'Reilly Active Directory Third Edition



    ---O'Reilly Active Directory Third Edition now available---





    lenapostantzi@g mail.com wrote:
    Hi all,
    >
    I'm trying to write an app that will "popup" a nice form when the
    user's mail submenu is selected at the AD console so I can add, modify,
    delete and check the mail addresses and aliases of that user.
    >
    In vbscript, in order to bind to the "selected user" at the AD Users &
    Computers console, the Wscript.Argumen ts is used.
    >
    ex. strDN = Wscript.Argumen ts(0)
    Set objUser = GetObject("LDAP ://" & strDN)
    >
    I've found out how to bind to a specific user (with DirectoryEntry) in
    vb.net but can't see how to "catch" the DN of the selected user.
    >
    Is there a way to accomplish something similar with vb.net?
    >
    Many thx,
    Elena
    >

    Comment

    Working...