none
Unlock User account RRS feed

  • Question

  • I have permission to unlock a domain account. But I get "Access Denied" and stop at objUser.SetInfo :

    Set objUser = GetObject("WinNT://Domain/UserID")
    If objUser.IsAccountLocked Then

       objUser.IsAccountLocked = False
       objUser.SetInfo

    End If

    Any suggustion?

    Thanks

    Monday, September 9, 2013 6:51 PM