Hello
I try to add a new user to active directory but I got an error at the setpassword line. Any comment would be helpfull.
Here is my code:
{
CreateUserAccountAd();
}
deuser.Properties[
de.CommitChanges();
deuser.Invoke(
de.Close();
de.Dispose();
error = ex.Message;
lblLoginErrorDetails.Text = error;
lblLoginErrorDetails.Text =
UE.CommitChanges();
ActiveDs.
user1.AccountDisabled =
dr.CommitChanges();