public function ForcePasswordChangeServiceInterface::getPendingUsersForRole in Force Password Change 8
Same name and namespace in other branches
- 2.0.x src/Service/ForcePasswordChangeServiceInterface.php \Drupal\force_password_change\Service\ForcePasswordChangeServiceInterface::getPendingUsersForRole()
* Retrieve the users with a pending forced password change in a given role * *
Parameters
string $rid: * The Role ID of the role in which users with a pending forced password * change should be retrieved. * @param boolean $countQuery * A boolean indicating whether to return the number of users, or the loaded user objects. * * @return int|array * If $countQuery is TRUE, the number of users in the role with a pending forced password * change is returned. If $countQuery is FALSE, the loaded user objects of all users in the * role who have a pending forced password change will be returned.
1 method overrides ForcePasswordChangeServiceInterface::getPendingUsersForRole()
File
- src/
Service/ ForcePasswordChangeServiceInterface.php, line 113
Class
Namespace
Drupal\force_password_change\ServiceCode
public function getPendingUsersForRole($rid, $countQuery = FALSE);