[wp-trac] [WordPress Trac] #18428: Retrieve a list of user via XML-RPC

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 20 23:30:01 UTC 2012


#18428: Retrieve a list of user  via XML-RPC
-----------------------------+------------------------------
 Reporter:  nprasath002      |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  XML-RPC          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------

Comment (by maxcutler):

 Replying to [comment:7 nacin]:
 > get_users() does provide for 'who' => 'authors' which is going to be
 more useful to expose than just 'role'.

 Perhaps you can shed more light on what exactly the `who` argument is
 supposed to do? As far as I can tell, the only value it accepts is
 `author`, which does `user_level != 0`.

 Maybe it'd be better to let `wp.getUsers`' `role` take `authors` as a
 value (in addition to `author` and other individual roles) and convert
 that to `who`?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18428#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list