Here are my routines to extract the UPN (UserPrincipalName) from a SID; I do not expect this to provide the proper result unless there is an active account on the domain.
At this point you have an ADSI object, and you can do pretty much what you need to with it.
These solutions allow for these...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.