This function allows to list all groups defined by the authenticated user. Be aware that ODS exposes data as linked data which allows to query the groups via SPARQL as described in [Querying ACL Rules].
A list of the groups defined by the authenticated user as a JSON string.
Example: [
{
"id":1,
"uri":"http://web.ods.openlinksw.com/dataspace/trueg/group/Test%20Group%201",
"name":"Testgroup1",
"description":"Thefirstofthegroups",
"members":[
"http://web.ods.openlinksw.com/dataspace/person/egon#this",
"http://web.ods.openlinksw.com/dataspace/person/hans#this"
]
},
{
"id":2,
"uri":"http://web.ods.openlinksw.com/dataspace/trueg/group/Test%20Group%202",
"name":"Testgroup2",
"description":"Thesecondofthegroups",
"members":[
"http://id.myopenlinksw.com/dataspace/person/egon#this",
"http://www.facebook.com/some.user",
"acct.persona:trueg@openlinksw.com"
]
}
]
AuthenticationThis function requries authentication via one of the supported authentication methods as described in [ODS Authentication].