Home All Groups Group Topic Archive Search About

Testing a usename and password

Author
27 May 2005 9:01 AM
jnc
Hey everyone,

I have written an app which needs to install and uninstall windows services
periodically.  I have provided an interface in which the user can enter the
user account the service should run under and also the password.

What I would like to be able to do is test the password is correct before
applying it to the windows service.  Is there any easy way to do this,a
pointer to a code example in vb.net or c# would be great.

Thanks for you help.

Jim