Changes between Version 3 and Version 4 of TracRpcGetAllUsersPlugin
- Timestamp:
- Jan 16, 2018, 6:24:06 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracRpcGetAllUsersPlugin
v3 v4 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = TracRpcGetAllUsers - Trac xmlrpc user related apis3 = XMLRPC user related APIs 4 4 5 5 == Description 6 6 7 **Provides some user related apis for [wiki:XmlRpcPlugin].** 7 This plugin provides some user related APIs for [wiki:XmlRpcPlugin]. 8 8 9 This plugin provides following api:9 This plugin provides the following APIs: 10 10 11 11 1. {{{user.getAllUsers}}}, 12 returning a dict of all known users, equals to {{{env.get_known_users(True)}}} 13 e.g. 12 returns a dict of all known users, equals to {{{env.get_known_users(True)}}}, for example: 14 13 {{{ 15 14 { … … 20 19 21 20 2. {{{user.getAllUserGroups}}}, 22 returning a dict of all user gruops, equals to {{{PermissionSystem.get_groups_dict}}} 23 e.g. 21 returns a dict of all user groups, equals to {{{PermissionSystem.get_groups_dict}}}, for example: 24 22 {{{ 25 23 { … … 29 27 30 28 3. {{{user.getPermission}}}, 31 returning a list of all permissions and actions, 32 e.g. 29 returns a list of all permissions and actions, for example: 33 30 {{{ 34 31 ['WIKI_VIEW', 'authecated', ..] … … 36 33 37 34 4. {{{user.resolveUsers}}} 38 returning a list of users according to given permission or group 39 e.g. 35 returns a list of users according to given permission or group, for example: 40 36 {{{ 41 37 user.resolveUsers('WIKI_VIEW') … … 64 60 == Installation 65 61 66 ** requires [wiki:XmlRpcPlugin] ** 62 This plugin requires [wiki:XmlRpcPlugin] to be installed. 67 63 68 64 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.