Not logged in : Login |
This method allows to fetch details about an ODS user. If no user name is given the authenticated user is returned. This means that user.info() can be used to get user information for an authentication session (see also Authentication via Session Id).
name
The optional ODS user name. Defaults to the authenticated user.
short
An optional boolean setting. If 1 only the most basic information is returned.
An XML stream encoding the user details such as uid, name, or the personal URL.
Example:
$ curl -i "http://ods.openlinksw.com/ods/api/user.info?sid=07e6e4b8da77691c729e6c95e3016ac8&short=1"
HTTP/1.1 200 OK
Server: Virtuoso/06.01.3127 (Linux) x86_64-unknown-linux-gnu
Connection: Keep-Alive
Date: Sat, 21 Apr 2012 09:52:46 GMT
Accept-Ranges: bytes
Content-Type: text/xml; charset="UTF-8"
Content-Length: 157
Attributes | Values |
---|---|
type | |
schema:url | |
schema:httpMethod |
|
schema:contentType |
|
http://www.openlin...es#isWebServiceOf | |
http://www.openlin...vices#endPointURL | |
schema:shortDescription |
|
http://www.openlin...ices#hasParameter | |
schema:name |
|
schema:description |
An XML stream encoding the user details such as uid, name, or the personal URL. $ curl -i "http://ods.openlinksw.com/ods/api/user.info?sid=07e6e4b8da77691c729e6c95e3016ac8&short=1" HTTP/1.1 200 OK Server: Virtuoso/06.01.3127 (Linux) x86_64-unknown-linux-gnu Connection: Keep-Alive Date: Sat, 21 Apr 2012 09:52:46 GMT Accept-Ranges: bytes Content-Type: text/xml; charset="UTF-8" Content-Length: 157 <user><uid>127</uid><iri>http://ods.openlinksw.com/dataspace/person/demo#this</iri><name>demo</name><nickName>demo</nickName><fullName>Demo User </fullName></user> This function will provide additional information if authentication via one of the supported methods as described in ODS Authentication is used. |
is schema:target of |