Page 1 of 1

how to get login username

Posted: Tue Jun 02, 2009 9:42 am
by iesak
is there any functions to get login username ?

Re: how to get login username

Posted: Tue Jun 02, 2009 9:57 am
by lotsaram
In 9.1 + TM1User()

Re: how to get login username

Posted: Thu Jun 04, 2009 3:58 am
by yyi
=getusernamefromserver("server name") for poor guys like me stuck on an old version. :roll:

Re: how to get login username

Posted: Thu Jun 04, 2009 4:05 am
by Alan Kirk
yyi wrote:=getusernamefromserver("server name") for poor guys like me stuck on an old version. :roll:
Where are you getting that function name from, and in what context are you using it?

Re: how to get login username

Posted: Thu Jun 04, 2009 4:12 am
by yyi
formula in excel :- get user id currently logged in (< v9.1)
not in TM1 help files, just found it on a sheet somewhere.

Re: how to get login username

Posted: Thu Jun 04, 2009 4:34 am
by Alan Kirk
yyi wrote:formula in excel :- get user id currently logged in (< v9.1)
not in TM1 help files, just found it on a sheet somewhere.
Interesting; no mention of it in the release notes. (Colour me surprised :roll: )

It looks like it applies to Excel only, not T.I.; though iesak didn't indicate the context in which the function was required.

It post-dates 8.2 (the function yields a Name error in 8.2.12), though it's available in a 9.0 test version that I'm running. So it may have appeared in 8.3, 8.4 or 9.0.