How to Resolve SID(SSDL) to UPN or Domain\UserId or GUID via ADSI

Discussion in 'Active Directory' started by se2946, Dec 3, 2007.

  1. se2946

    se2946 Guest

    When I access to a trustee of a computer account ACE:
    Normally, trustee returns a "Domain\UserID" format, but sometimes returns by
    SSDL(s-1-5-x-x...).
    I want to convert SSDL to other type format(such as title) via ADSI.

    Any help you could give me would be greatly appreciated. Thank you.
     
    se2946, Dec 3, 2007
    #1
    1. Advertisements

  2. Mathieu CHATEAU, Dec 3, 2007
    #2
    1. Advertisements

  3. se2946

    Joe Kaplan Guest

    In ADSI, you should use the IADsNameTranslate interface for doing these
    types of conversions.

    Joe K.
     
    Joe Kaplan, Dec 3, 2007
    #3
  4. se2946

    se2946 Guest

    Thank you for your good supporting.


     
    se2946, Dec 4, 2007
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.