I want to know how do you detect if a user belong to a particular domain. I have a group of user in a text file. I will read them and then group them to their respectly domain.
How can I do that.
Provide sample codes if possible.
Thanks
Printable View
I want to know how do you detect if a user belong to a particular domain. I have a group of user in a text file. I will read them and then group them to their respectly domain.
How can I do that.
Provide sample codes if possible.
Thanks
Take a look at the examples below. You can find more examples by searching Google for "vb adsi domain user".
http://www.iisfaq.com/default.aspx?View=A18&P=4
http://www.freevbcode.com/ShowCode.Asp?ID=611