ldap or active directory

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default ldap or active directory

    In my current asp.net application i'm getting the user network short name
    and displaying that on the screen. What I want is the users Full name and
    display that instear. How can i go about doing that, would I use LDAP or
    Active directory to do that?

    I never had to do this and not sure how to do it or where to start looking.

    Ex: this is what i get now.
    jsmith - network logon ID

    what I want is:
    John Smith.

    is this possible?


    Mike Guest

  2. Similar Questions and Discussions

    1. I have a problem with LDAP (Active Directory).
      Hi, I would like that they were helping me in a problem: I need to authenticate my users inside the domain with the Active Directory without the...
    2. WPS integration with LDAP/Active Directory
      Hi, I need to intigrate WPS with LDAP . i am new to LDAP. What are the things i need to do to integrate. i am using Active directory. is it...
    3. Updating Active Directory via LDAP
      I am attempting to use CFLDAP to manage group membership inside of Active Directory. I have had no trouble binding and querying against the...
    4. LDAP And Active Directory
      Ok, Im not sure where else to turn to so here goes. Im Trying to creat a web app to allow me to unlock 'Locked' user accounts in Wondows 2003 from...
    5. ASP, LDAP and Active Directory
      I have an ASP page acessing an LDAP server (Exchange server on Windows 2000). I tried running the asp query on the machine that contains the LDAP...
  3. #2

    Default Re: ldap or active directory

    You talk to Active Directory via LDAP (generally with
    System.DirectoryServices using .NET), so the answer is likely to be both.

    The basic idea would be to use the DirectorySearcher component to search
    Active Directory based on the short name (probably the samAccountName
    attribute) and return the DisplayName or whatever other attribute actually
    has the full name in your directory.

    There are some nice samples in MSDN and some good technotes on S.DS in
    ASP.NET:
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sds/sds/searching_the_directory.asp?frame=true[/url]
    [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;329986[/url]

    Joe K.

    "Mike" <csharpcoder@sbcglobal.net> wrote in message
    news:%2399Xm$p5DHA.1428@TK2MSFTNGP12.phx.gbl...
    > In my current asp.net application i'm getting the user network short name
    > and displaying that on the screen. What I want is the users Full name and
    > display that instear. How can i go about doing that, would I use LDAP or
    > Active directory to do that?
    >
    > I never had to do this and not sure how to do it or where to start
    looking.
    >
    > Ex: this is what i get now.
    > jsmith - network logon ID
    >
    > what I want is:
    > John Smith.
    >
    > is this possible?
    >
    >

    Joe Kaplan \(MVP - ADSI\) Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139