Last post Oct 17, 2012 02:40 AM by Angie xu - MSFT
Oct 15, 2012 07:00 AM|coolblue|LINK
I have the following code:
PrincipalContext pc = new PrincipalContext(ContextType.Domain, "a001svdc02.uk.ad.mm.com");
userIsValid = pc.ValidateCredentials(txtUsername.Text, txtPassword.Text);
This works fine (note that it worked fine without specifying the server too) on my development machine.
However when this code goes up to the server one user gets returned as invalid even though they can log on to windows fine and can log on to the app when it is running on my development machine.
Does anyone have a clue as to what might cause this issue?
Oct 17, 2012 02:40 AM|Angie xu - MSFT|LINK
could you give more details about this PrincipalContext issue?