I need define fts or lucene query with parameter current logged user, for example I need something like this:
ASPECT:'cm:lockable' AND! ASPECT:'cm:workingCopy' AND cm:lockOwner:'getCurrentLoggedUser'
I need this query for dashlet creating by saved search , which will show locked files which are locked by logged user.
Is there a way to get a username of current logged user?
Thanks.