Originally Posted by jkelaha1
|
|
I am writing a console application in C# that updates some edirectory object attributes. This is part is working fine no problem when I hard code credentials, or prompt the user for credentials. What I want to do though, is use the current logged in user's credentials to bind to the tree instead of prompting the user to enter them. This should be possible, as console one doesn't prompt you for credentials when you open it, I just don't know where to start. Does anyone have any ideas?
|
Use the enviroment label %l_name%? ;-)
if it is in the login script, try using %cn :-)