cancel
Showing results for 
Search instead for 
Did you mean: 

Search query with current username

mvlcek
Champ on-the-rise
Champ on-the-rise

Hi, 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.

1 REPLY 1

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

Do you need current username in Repo side or Share side?