CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 1999
    Location
    Sweden
    Posts
    15

    Getting NT-username from Exchange-username

    Is it possible, through any API, to search through the accounts of a specific domain and get the NT-loginname knowing only the persons reallife-name?

    Ex:

    knowing: "Adam Taylor"
    getting: "Whatever\AdTay (Adam Taylor)" from NT

    Where : Whatever is the domain
    AdTay is the users loginname




  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Getting NT-username from Exchange-username

    AFAIK there is NO mapping of NT user names to Exchange user names.


  3. #3
    Join Date
    Oct 1999
    Location
    Iowa, USA
    Posts
    3

    Re: Getting NT-username from Exchange-username

    You can enumerate ComputerNames under a specific domain by using wnetopenenum and wnetenumresources. But from that point you can't tell who is logged onto that computer.

    Wes G.


Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured