UserLogin
Represents the settings that affect a user’s ability to log into an organization. To access this object, you need the UserPermissions.ManageUsers permission.
Introduced in API version 29.0.
describeSObjects(), query(), retrieve(), update()
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort, Update
- Description: If
true, the user account associated with this object is frozen. If a user’s account is frozen, they can’t log in, but their account isn’t deactivated. - Default value: false
-
Type: boolean
-
Properties: Defaulted on create, Filter, Group, Sort, Update
-
Description: If
true, the user account associated with this object is locked because of too many login failures. From the API, you can set this field tofalse, but nottrue. -
Default value: false
If the Lockout effective period is set to Forever (must be reset by admin) in your org’s Password Policies Setup page, this field isn’t set to
false.
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: ID of the associated user account. This field can’t be updated.
- Relationship name: User
- Relationship type: relationship
- Refers to: User
To query for all frozen users in your organization:
To freeze or unfreeze multiple users, use Data Loader.