Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Can it be done?
Public Shared Function GetUser(ByVal UserName As String) As DirectoryEntry 'create an instance of the DirectoryEntry Dim dirEntry As DirectoryEntry = GetDirectoryObject("/" + GetLDAPDomain()) 'create instance fo the direcory searcher Dim dirSearch As New DirectorySearcher(dirEntry) dirSearch.SearchRoot = dirEntry 'set the search filter dirSearch.Filter = "(&(objectCategory=user)(cn=" + UserName + "))" 'deSearch.SearchScope = SearchScope.Subtree; 'find the first instance Dim searchResults As SearchResult = dirSearch.FindOne() 'if found then return, otherwise return Null If Not searchResults Is Nothing Then 'de= new DirectoryEntry(results.Path,ADAdminUser, _ ADAdminPassword,AuthenticationTypes.Secure); 'if so then return the DirectoryEntry object Return searchResults.GetDirectoryEntry() Else Return Nothing End If End Function
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Call to SQL server times out||5||55|
|Why am I losing my session variable value||11||40|
|EMAIL RANGES BASED ON CURRENT TIME||12||41|
|Changing TableLayoutPanel Locations to Specific XY Locations||7||25|
Join the community of 500,000 technology professionals and ask your questions.