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 user method"

From EGIWiki
< GOCDB‎ | PI
Jump to navigation Jump to search
(change goc.gridops.org to goc.egi.eu)
Line 2: Line 2:
{{Template:Tools menubar}}
{{Template:Tools menubar}}
{{TOC_right}}
{{TOC_right}}
[[Category:GOCDB]]
== Method: get_user ==
== Method: get_user ==



Revision as of 14:09, 15 October 2012

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


Tools menu: Main page Instructions for developers AAI Proxy Accounting Portal Accounting Repository AppDB ARGO GGUS GOCDB
Message brokers Licenses OTAGs Operations Portal Perun EGI Collaboration tools LToS EGI Workload Manager


Method: get_user

Description Returns a user or a list of users with associated details and roles
Protection Level Protected (level 2)

Entry point

https://goc.egi.eu/gocdbpi/private/?method=get_user

parameters

parameter effect format/value(s) default example
dn Limit results to user with given certificate DN DN in standard string chain format all ?method=get_user&dn=/C=ZZ/O=certif/OU=users/OU=ngi.org/CN=Foo Bar
dnlike Limit results to user with certificate that matches given wildcard Search string (SQL syntax) all ?method=get_user&dnlike=%/OU=ngi.org%
forename Limit results to user(s) with given forename any string all ?method=get_user&forename=Robert
surname Limit results to user(s) with given surename any string all ?method=get_user&surname=Smith

XML schema

https://goc.egi.eu/gocdbpi/private/?method=get_user&output=xmlschema

Output Example

<?xml version="1.0"?>
<results>
 <EGEE_USER USER_ID="185" PRIMARY_KEY="6215G0">
  <FORENAME>Gilles</FORENAME>
  <SURNAME>Mathieu</SURNAME>
  <TITLE>Mr</TITLE>
  <DESCRIPTION>GOCDB administrator</DESCRIPTION>
  <GOCDB_PORTAL_URL>
   https://next.gocdb.eu/portal/index.php?Page_Type=View_Object&object_id=1133&grid_id=0
  </GOCDB_PORTAL_URL>
  <EMAIL>snip</EMAIL>
  <TEL>0</TEL>
  <WORKING_HOURS_START>08:00<WORKING_HOURS_START>
  <WORKING_HOURS_END>17:00<WORKING_HOURS_END>
  <CERTDN>snip</CERTDN>
  <APPROVED/>
  <ACTIVE/>
  <HOMESITE>GRIDOPS-GOCDB</HOMESITE>
  <USER_ROLE>
   <USER_ROLE>GOCDB Administrator</USER_ROLE>
   <ON_ENTITY>EGEE</ON_ENTITY>
   <ENTITY_TYPE>GROUP</ENTITY_TYPE>
  </USER_ROLE>
  <USER_ROLE>
   <USER_ROLE>Site Administrator</USER_ROLE>
   <ON_ENTITY>GRIDOPS-GOCDB</ON_ENTITY>
   <ENTITY_TYPE>SITE</ENTITY_TYPE>
  </USER_ROLE>
 </EGEE_USER>
</results>

Back to GOCDB technical Documentation main page