Using the WebGroups API
If you run your own Web application that doesn't use the provided UserLookup library (for instance, if it isn't a Java application) then you can still query for information about groups by making a simple HTTP call. The response will be some XML.
Make a GET request to https://webgroups.warwick.ac.uk or http://webgroups.warwick.ac.uk with one of the following paths.
Note: Highlighted phrases in a path are examples and should be replaced with whatever you are searching for.
| /query/group/group-name/members | Lists members of the specified WebGroup. |
| /query/group/group-name/details | A more detailed view of the specified WebGroup, including subgroups, descriptions and other metadata. |
| /query/group/group-name/groups | As above, but also includes the members of each subgroup. |
| /query/user/user/member/group-name | Returns "true" or "false" depending on whether the specified user is a member of the specified WebGroup. |
| /query/user/user/groups | Returns a list of groups the specified user is a member of. |
| /query/search/deptcode/department | Returns all WebGroups under the specified Department Code. |
| /query/search/name/search-term | Returns a list of WebGroups with the specified search-term in the name or description. The search term should be URL encoded - so spaces are replaced with %20, etc. |
Related articles
Error: Access denied for the source page. from 8ac672c798e454470198e701cba8534d