How to get a list of sat users

 
  • As a HUB admin, I'm curious if there is a way to find out how many users are at a particular SAT location. I know that you can view up to 50 authors of the session history through the gui, but is there a way to do this to a text file?

    Thanks,
  • Do you mean users logged in to the project?

    This will give you a list of logged in users at location with name /REMOTELOC


    !location = object location( /REMOTELOC )
    !sessions = !location.sessions()
    !data = array()
    do !sess values !sessions
       !data.append(!sess.User().Name & ';' & !sess.Login & ';' & !sess.Entered & ';' & !sess.Module() )
    enddo
    !file = object file('%pdmsuser%\loggedInUsers.txt')
    !file.writefile('overwrite',!data)
  • Hi TBack,

    Thank you for the quick reply.

    I was more looking for a way to see how many licenses the SAT location may be using. To solve the problem I was hoping to get a SAT user count of online and offline users. The only way I could think of doing this was to see if maybe I can export session history to a file and sort through dates to see how many unique authors made a session? Is there an easier way?