hi,

I am writting a windows service in vb.NET.
I want to have the user that is running service. the user name and password as a global variable in my project.
I want to work with ADSI functions so I need the both user name and password to make the function work and connect to domain.

can any one give me a clue how to do that?
any other suggestion beside getting the user name and password from service?

thanks in advance.
roseta.