Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Setting password and enabling new ADAM user

  Asked By: Valencia Stuart         Date: Aug 14, 2009      Category: Sharepoint      Views: 192
 

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


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:              

 

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.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].