Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    list public folder visible to a user

    Scripting
    1
    2
    442
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mdoehle
      mdoehle last edited by

      Hi folks

      For a tool that help users zu subcribe public folder with z-push, I have to find out which public folders are visible for the user. I pretty sure, that it will solvable with kopano python - but I can’t see the solution yet.

      Can someone give a hint - or a code snipet?

      greetings
      Mathias

      1 Reply Last reply Reply Quote 0
      • mdoehle
        mdoehle last edited by

        Sorry, this was in deed a stupid question.

        It is simple as that:

        server = kopano.Server(auth_user='userXY')
        for f in server.public_store:
             print(f)
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post