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



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

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"se2946" <se2946@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:819BEBE4-0E34-43C3-BD4D-3DB0A39EBAD0@xxxxxxxxxxxxxxxx
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.



.



Relevant Pages

  • Re: SignOn Problem during Team Foundation WebTest Playback
    ... That sounds likely to me (the query string parameters). ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • Re: Problem in Accessing Active Directory from ASP.net
    ... Perhaps the security context is different here then. ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Validating NT Username/Password Using .NET
    ... Unfortunately it doesn't have an overload that takes a password, ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.platformsdk.security)
  • Re: AD Attribute change
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • Re: Users container
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)