|
-
Nov 29th, 2012, 10:02 AM
#27
Re: Populate TreeView with Active Directory objects
 Originally Posted by chris128
How are you specifying the username? Try using DOMAIN\Username if you were just using Username on its own
Or did it work fine with the same username and password in my VB example?
I got it to work. I pasted something wrong. When I deleted everything and repasted, it worked.
But, it won't work if I leave the password as an empty string. I can't look through your code right now, but I thought if a password wasn't passed, it would still work if the current user has access. Which I remember it doing, but if I pass a an empty string to it in my project, it fails. I have to pass the password to it.
CodeBank contributions: Process Manager, Temp File Cleaner
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|