Method: get_service_group_role
Description
|
Returns a list of service groups and the roles under those groups.
|
Protection Level
|
Protected (level 2)
|
Entry point
parameters
parameter
|
effect
|
format/value(s)
|
default
|
example
|
service_group_name
|
Only return info for the service group with specified site name
|
any service group name
|
all
|
?method=get_service_group_role&service_group_name=OPSTOOLS
|
scope
|
Show only sites with the requested scope-tags - a list of currently supported scope tags can be found here
|
A comma separated list of scope-tag values or an empty value to return all scopes, i.e. '&scope='
|
EGI
|
?method=get_service_group_role&scope=Local
|
scope_match
|
Match 'all' or 'any' of the specified scope-tags
|
'all' or 'any'
|
all
|
?method=get_service_group_role&scope=Local,EGI&scope_match=any
|
Docs for cursor params coming soon.
|
Limit results and use cursor paging to iterate over all results
|
See here for info
|
|
|
Output Example
<?xml version="1.0" encoding="UTF-8"?>
<results>
<SERVICE_GROUP PRIMARY_KEY="57654G0">
<NAME>OPSTOOLS</NAME>
<DESCRIPTION>All EGI Operational Tools</DESCRIPTION>
<MONITORED>Y</MONITORED>
<CONTACT_EMAIL>gocdb-admins@mailtalk.ac.uk</CONTACT_EMAIL>
<GOCDB_PORTAL_URL>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object&object_id=107045&grid_id=0</GOCDB_PORTAL_URL>
<USER>
<FORENAME>David</FORENAME>
<SURNAME>Meredith</SURNAME>
<CERTDN>/C=UK/O=eScience/OU=CLRC/L=DL/CN=david meredith</CERTDN>
<GOCDB_PORTAL_URL>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object&object_id=22252&grid_id=0</GOCDB_PORTAL_URL>
<ROLE>Service Group Administrator</ROLE>
</USER>
<USER>
<FORENAME>John</FORENAME>
<SURNAME>Casson</SURNAME>
<CERTDN>/C=UK/O=eScience/OU=CLRC/L=RAL/CN=john casson</CERTDN>
<GOCDB_PORTAL_URL>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object&object_id=6200&grid_id=0</GOCDB_PORTAL_URL>
<ROLE>Service Group Administrator</ROLE>
</USER>
</SERVICE_GROUP>
</results>
Back to GOCDB technical Documentation main page