# JumpCloud - Lock user action
The Lock user action locks a JumpCloud account you specify, preventing the user from signing in.
# Input
| Field | Description | 
|---|---|
| User ID | Provide the JumpCloud ID of the account you plan to lock. | 
# Output
| Field | Description | 
|---|---|
| The user's email. | |
| User name | The user's user name. | 
| Allow public key | Indicates whether the user can authenticate with a public key. | 
| Public key | The user’s public key, used for authentication. | 
| Sudo | Indicates whether the user has sudo privileges in Unix-like systems. | 
| Enable managed uid | Indicates whether JumpCloud manages the user's UID. | 
| Unix uid | The user's unique user identifier (UID) in Unix-like systems. | 
| Unix guid | The user's group identifier (GUID) in Unix-like systems. | 
| Activated | Indicates whether the user is active. | 
| Tags | The user's tags. | 
| Account locked | Indicates whether the user’s account is locked. | 
| Passwordless sudo | Indicates whether the user can run sudo commands without a password prompt. | 
| Externally managed | Indicates whether an external system manages the user. | 
| External dn | The user's external distinguished name (DN). | 
| External source type | The type of external source managing the user. | 
| First name | The user's first name. | 
| Last name | The user's last name. | 
| Ldap binding user | Indicates whether the user is bound to an LDAP directory. | 
| Enable user portal multi-factor | Indicates whether the user can use multi-factor authentication (MFA) to access the JumpCloud user portal. | 
| Attributes | Contains information about the user's custom attributes, such as their ValueandName. | 
| Samba service user | Indicates whether the user is connected to Samba. | 
| Addresses | Contains information about user's addresses, such as their Street addressandType. | 
| Job title | The user's job title. | 
| Department | The user's department. | 
| Phone numbers | Contains information about the user’s phone numbers, such as their TypeandNumber. | 
| Password never expires | Indicates whether the user’s password never expires. | 
| Middle name | The user's middle name. | 
| Display name | The user's display name, usually a combination of First nameandLast name. | 
| Description | The user's description. | 
| Location | The user's physical or office location. | 
| Cost center | The user's associated cost center. | 
| Employee type | The user's employee type, such as full-time,part-time, orcontractor. | 
| Company | The company the user works for. | 
| Employee identifier | A unique identifier for the user, often used for HR or payroll purposes. | 
| MFA | Contains information about the user's multi-factor authentication, such as its Exclusion untildate andConfiguredstatus. | 
| Suspended | Indicates whether the user is suspended, blocking their access the system. | 
| Alternate email | The user's alternate email. | 
| Disable device max login attempts | Indicates whether the user is allowed unlimited login attempts. | 
| External password expiration date | The expiration date of the user’s external management password. | 
| Managed apple ID | The Apple ID of the user's device. | 
| Manager | The name or JumpCloud ID of the user's manager or supervisor. | 
| State | The user's identity lifecycle state. | 
| Relationships | Contains information about the user's relationships, such as their TypeandValue. | 
| Restricted fields | Contains information about restricted user fields, such as their Fieldname andID. | 
| Ssh keys | Contains information about the user's SSH keys, such as their NameandID. | 
| Password expired | Indicates whether the user’s password is expired. | 
| Totp enabled | Indicates whether time-based one-time password (TOTP) is enabled as part of the user's MFA. | 
| Created | A timestamp indicating when the user's account was created. | 
| ID | The user's unique JumpCloud’s identifier. | 
| Organization | The organization that contains the user. | 
| Bad login attempts | The user's number of failed login attempts. | 
| Password expiration date | The expiration date of the user’s password. | 
| Admin | Contains information about the admin associated with the user, such as their ID. | 
| Creation source | The source from which the user was created. | 
| Password date | The date the user's password was last updated. | 
| Recovery email | Contains information about the user's recovery email, such as its AddressandVerifiedstatus. | 
| Mfa enrollment | Contains information about the user's MFA, such as its Overall statusandTotp status. | 
 Last updated: 5/21/2025, 5:22:32 AM