Providing credentials

Nov 20, 2011 at 12:42 PM


I'm successfully using this code in my program, but I'd like to be able to supply special credentials for the code to use to access the remote domain server. At present I can only see how to set the name of the remote server, but I can't seem to find a way to specify a username /password for access to the AD server.

Can anyone help?