Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Setting password and enabling new ADAM user

  Asked By: Valencia    Date: Aug 14    Category: Sharepoint    Views: 1020

Anybody help me setting the password for new ADAM user and enabling the user.

I used the bleow code but throwing an "target invocation exception"
objUser.Invoke("SetPassword", _
New Object() {"ADAMComplexPassword1234"})

To enable the account:

Dim attrib As String = "msDS-UserAccountDisabled"

objUser.Properties(attrib).Value = False

the above code is throwing different exceptions



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Setting password and enabling new ADAM user Or get search suggestion and latest updates.