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. This object is available in API version 29.0 and later.

Supported Calls

describeSObjects()query()retrieve()update()

Fields

Field Name Details
IsFrozen
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort, Update
Description
If true, the user account associated with this object is frozen.
IsPasswordLocked
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 to false, but not true
UserId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of the associated user account. This field can’t be updated.

Usage

To query for all frozen users in your organization:
SELECT Id, UserId
FROM UserLogin
WHERE IsFrozen = true