It's not clear for me what you want. If you want the value from a
specific Timeplan then use something like
$xwiki.getDocument('Timeplan.Foo').getObject('Timeplan.TimeplanClass').getProperty('user1').value
Otherwise, if you want all the values from all the existing Timeplans
then you can use something like this
$services.query.xwql('select distinct timeplan.user1 from Document
doc, doc.object(Timeplan.TimeplanClass) as timeplan').execute()
In any case I don't see why you need Groovy code and why you use the
deprecated xwiki.search method.
Hope this helps,
Marius
On Wed, Feb 19, 2014 at 12:24 AM, Matthias Wegner <mic.mat.wegner(a)web.de> wrote:
Hi Devs,
i use a custom class (from App within a Minute) which has a list of users as
a class field. For a StringField i use
How can i read the Users from the BaseObject?
Regards,
Matthias
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Get-UserList-from-BaseObject-tp7589196.ht…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users