So I'm having an issue that apparrently is so simple to resolve because I have not found the answer in any forums nor have I found the question.
Using VB.NET's DirectorySearcher class, I return a list of computers in the domain I specifiy. Great, now I want to know if the account being used, regardless if its mine, or if its the end user who will be impersonated in code, has permission to get a list of windows services installed on the listed computer.
Everything had been going great until I ran into an issue where ServiceProcess.ServiceController.GetServices(m_Nam e) would only work for a computer that I have administrative rights on. So before I step into the function to get the services, I would like to eliminate the computers that I do not have rights to from the DirectorySearcher results. Can this be done using an LDAP query? My brain hurts from trying to understand AD querying and LDAP so maybe I do not understand based on the fact that I just had an information overload.
Thanks in advanced.