# Lock and Unlock User Accounts

If genuine users are locked out, you can reinstate them by using a `UserLock` action. You can also use this action to lock user accounts manually.

TIP: You can also click Lock or Unlock in the User Details page in the IDOL Admin interface to lock and unlock users.

To unlock a user account

- Send the following action to the IDOL Community component:

      http://CommunityHost:CommunityPort/action=UserLock&UserName=Username&Unlock=True

  where:

  `CommunityHost` | is the name or IP address of the host on which the IDOL Community component runs.
  `CommunityPort` | is the IDOL Community component ACI port.
  `Username` | is the user name of the user whose account you want to unlock.

To lock a user account

- Send the following action to the IDOL Community component:

      http://CommunityHost:CommunityPort/action=UserLock&UserName=Username&Unlock=False

  where:

  `CommunityHost` | is the name or IP address of the host on which the IDOL Community component runs.
  `CommunityPort` | is the IDOL Community component ACI port.
  `Username` | is the user name of the user whose account you want to lock.

_FT_HTML5_bannerTitle.htm