Re: How can I get the Localdomain for account using directoryservices

Tech-Archive recommends: Fix windows errors by optimizing your registry



What are you starting with? Do you have the SID and want it translated into
a friendly name? The Translate method on the SecurityIdentifier class is
good for that.

Otherwise, please explain more what you are trying to do.

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
--
"Dean Hinson" <DeanHinson@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9AA41F69-FD98-4E4D-BEF3-99AE4E2561BE@xxxxxxxxxxxxxxxx
Hello,

You know how you look at an Access Control List using the Security tab
from
the properties window from windows explorer? When it display a local
account, it usually shows, in parentheses, the computer name and the
account
(xxxxxx\account). How can find the computer (localdomain?) using
directoryservices in .net?

Thank you in advance for any assistance.


.