Newer Version Available
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 |
|
| IsPasswordLocked |
|
| UserId |
|
Usage
To query for all frozen users in your
organization:
1SELECT Id, UserId
2FROM UserLogin
3WHERE IsFrozen = true