How do I locate an object using its sid in a multi-forests environ



Hi, I'm using vs2005, .net2 for a windows applicaiton. I need to bind to an
AD object (user, group or computer) and I only have its sid. This object
could locate in a domain outside of my current forest, in a multi-forests
environment.
1. How can I find the path to this object?
2. How to find the domain name that this object is located.
3. If this object is not in current forest, then, how can I verify if the
forest/domain that this object is at has a valid external trust configured
with my current forest?

Any help in any of the above issue is greatly appreciated.

Thank you.
--
Thanks.
.



Relevant Pages

  • Re: LDAP bind to Global Catalog dilemma?
    ... > In a forest with multiple domains, what is the recommended strategy for ldap ... > consuming applications to bind to the forest for user information? ...
    (microsoft.public.windows.server.active_directory)
  • ldap authentication in multforest domain?
    ... In a forest with multiple domains, what is the recommended strategy for ldap ... consuming applications to bind to the forest for user information? ...
    (microsoft.public.windows.server.security)
  • LDAP bind to Global Catalog dilemma?
    ... In a forest with multiple domains, what is the recommended strategy for ldap ... consuming applications to bind to the forest for user information? ...
    (microsoft.public.windows.server.active_directory)
  • Re: is it posible to change users sid
    ... Again, as Jorge mentions, the GUID and SID for any two objects are ... Active Directory also attempts to enforce uniqueness on a per ... domain or per forest basis for a number of other identity related ...
    (microsoft.public.windows.server.active_directory)
  • Re: Urgent: Add a user from a trusted forest to a Group in my forest
    ... You'll need to query the other forest to get the SID ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... But how will i get the SID of an user from the trusted forest? ...
    (microsoft.public.windows.server.active_directory)