group.has_password_enabled_user

Checks whether at least one local user with a password is a member of any of the group_ids.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: gids

gids

Type: array of integer

Array of group IDs to check for password-enabled users.

No Additional Items
Each item of this array must be:
Type: integer
Parameter 2: exclude_user_ids

exclude_user_ids

Type: array of integer Default: []

Array of user IDs to exclude from the check.

No Additional Items
Each item of this array must be:
Type: integer

Result

Type: boolean

Returns true if any of the groups contain password-enabled users.



Required roles: ACCOUNT_READ