
Enumerate Trusted Domains
Have you actually found support for the api call
'LsaEnumerateTrustedDomains '? It is in I have finally settled on using
WNetEnumResource, which takes a lot of work to get a domain list from.
Sorry, I am not much help. But I will try it out anyhow.
jw
Quote:
>I would like to enumerate the trusted domains for a workstation -
>similar to the domain list which appears when logging on to Windows NT.
>I assume you would need to use a function such as
>LsaEnumerateTrustedDomains which is in ADVAPI32.DLL.
>Has anyone been able to achieve this? If so, how? A function declaration
>and code snippet would be very useful.
>Many thanks,
>Stuart