Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails
C# code: this.AD = new DirectoryEntry(loginPath, loginUsername, loginPassword); var filter = "(&(objectCategory=Person) (sAMAccountName=" + username + "))"; var diretorySearcher = new DirectorySearcher(this.AD); SearchResult searchResult = null; diretorySearcher.SearchRoot = this.AD; diretorySearcher.SearchScope = SearchScope.Subtree; diretorySearcher.Filter = filter; searchResult = diretorySearcher.FindOne(); DirectoryEntry user = searchResult.GetDirectoryEntry(); VB.Net code: Me.AD = New DirectoryEntry(loginPath, loginUsername, loginPassword) String filter = "(&(objectCategory=Person) (sAMAccountName=" & username & "))" DirectorySearcher diretorySearcher = New DirectorySearcher(Me.AD) SearchResult searchResult = Nothing diretorySearcher.SearchRoot = Me.AD diretorySearcher.SearchScope = SearchScope.Subtree diretorySearcher.Filter = filter searchResult = diretorySearcher.FindOne() DirectoryEntry user = searchResult.GetDirectoryEntry()
|In ASP.NET using C# with .Net Framework 4.0, can a checkbox be placed in a footer?||2||48|
|Pass through dll||2||36|
|How to determine the value of a field after it has been selected from a varchar field of 1 table and converted to an INT type value and inserted into another Sybase table with a field type of INT ?||2||42|
|ORA-12560: TNS:protocol adapter error||8||44|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
15 Experts available now in Live!