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 -

sql server - SQL Query - Delete duplicates if more than 3 dups? -

c# 3.0 - Issue with getting 2 chars from string using indexer -