TM1ACTIVESERVERS
TM1ACTIVESERVERS returns the host URI, server name, and username information for active session connections in a 2-dimensional array. This function doesn't accept any arguments.
TM1ACTIVESERVERS is also valid in Excel macros and VBA modules.
Syntax
TM1ACTIVESERVERS( )
You can also access this function through VBA by using Application.Evaluate("TM1ACTIVESERVERS( )").