Forum Discussion

bhupen's avatar
bhupen
Advisor
11 years ago
Solved

Is there a way to export more than 25 unique usernames in csv/txt

I want to export a list of unique usernames for any given thread identified. Solution I had:  I have managed it using REST API with this call:  /restapi/vc/threads/id/23/participants/recent.   C...
  • bhupen's avatar
    bhupen
    11 years ago
    samudhraa Thank you very much. I resolved this using this:
    <#assign x=10>
    <#list 1..x as pageNum>
    <#list restadmin("/threads/id/5719/participants/recent/?page=${pageNum}&page_size=1000").users.user as user>
    <#if user.login??>
    ${user.login}
    </#if>
    </#list>
    </#list>