php - Is it possible to use the Drupal api to get a list of users? -


I would like to get a list of all users who have appointed a certain role. I can write my own SQL but I would like to use the API as much as possible.

Generally there is a Drupal API function for this type of work (institutions matching certain criteria Pulling) This focuses on single-unit CRUD tasks in the API; Everything else depends on developer's SQL skills.

The View module allows you to create a list of users filtered by roles, permissions, and so on - but this can easily overkill.


Comments

Popular posts from this blog

email - PHP mail error ... failed to open stream : permission denied -

c# - ListView onScroll event -

c - Linux mmap() error -