account_status
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
The account status of a user object for the administration's marks: 'enabled', 'disabled' or 'locked'; false for an object that is no user account, or when the current user may not see it (role/read, like the subitems columns "Account enabled" and "Locked out"). fetch( 'user', 'account_status', hash( 'user_id', 14 ) ). See expUserAccountStatus.
Usage
fetch( 'user', 'account_status',
hash( 'user_id', user_id ) )Parameters
| Name | Type | Required | Default |
|---|---|---|---|
| user_id | integer | Yes. |
Source
kernel/user/function_definition.php, eZUserFunctionCollection::fetchAccountStatus()
See also
Generated example: fetch( 'user', 'account_status' )
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment