# 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.

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm