Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Difference between revisions of "GOCDB/PI/get service group role"

From EGIWiki
< GOCDB‎ | PI
Jump to navigation Jump to search
Line 36: Line 36:
|-
|-
| scope  
| scope  
| Show only users with roles over service groups with the requested scope-tags (Local and EGI are currenlty the only available scopes)  
| Show only service groups with the requested scope-tags (Local and EGI are currenlty the only available scopes)  
| A comma separated list of scope-tag values  
| A comma separated list of scope-tag values  
| EGI
| EGI

Revision as of 15:11, 15 October 2013

Main EGI.eu operations services Support Documentation Tools Activities Performance Technology Catch-all Services Resource Allocation Security


GOC DB menu: Home Documentation Index


Method: get_service_group_role - GOCDB4

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 service groups with the requested scope-tags (Local and EGI are currenlty the only available scopes) A comma separated list of scope-tag values 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


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&amp;object_id=107045&amp;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&amp;object_id=22252&amp;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&amp;object_id=6200&amp;grid_id=0</GOCDB_PORTAL_URL>
      <ROLE>Service Group Administrator</ROLE>
    </USER>
  </SERVICE_GROUP>
</results>


Back to GOCDB technical Documentation main page