Hi,
I want to find a name of the client which runs this process , can someone help me ?
Is it possible to do it in turbo ?
Boris
find a name of the client in process
-
- MVP
- Posts: 214
- Joined: Tue Nov 11, 2008 11:57 pm
- OLAP Product: TM1, CX
- Version: TM1 7x 8x 9x 10x CX 9.5 10.1
- Excel Version: XP 2003 2007 2010
- Location: Hungary
Re: find a name of the client in process
Hello,
From version 9.? you can use TM1User.
Regards,
Peter
TM1User()
This function returns a string giving the current TM1Client. When executed in a process that the
user is running directly, it will return the users TM1 client name. When executed in a chore that
the user runs directly, it will also return the users TM1 client name.
If run from a scheduled chore, it will return a name in the form R*<chore name>, for example,
R*UpdateRegionDimension.
Syntax
TM1User()
From version 9.? you can use TM1User.
Regards,
Peter
TM1User()
This function returns a string giving the current TM1Client. When executed in a process that the
user is running directly, it will return the users TM1 client name. When executed in a chore that
the user runs directly, it will also return the users TM1 client name.
If run from a scheduled chore, it will return a name in the form R*<chore name>, for example,
R*UpdateRegionDimension.
Syntax
TM1User()
Best Regards,
Peter
Peter
Re: find a name of the client in process
thanks,
and for version 8.?
thanks
and for version 8.?
thanks
-
- MVP
- Posts: 214
- Joined: Tue Nov 11, 2008 11:57 pm
- OLAP Product: TM1, CX
- Version: TM1 7x 8x 9x 10x CX 9.5 10.1
- Excel Version: XP 2003 2007 2010
- Location: Hungary
Re: find a name of the client in process
Hi,
Unfortunately this function was introduced in one of the 9 versions.
You can define a parameter on the advanced tab and ask your user to complete it at the start of the process. It will be not a fool proof solution.
Regards,
Peter
Unfortunately this function was introduced in one of the 9 versions.
You can define a parameter on the advanced tab and ask your user to complete it at the start of the process. It will be not a fool proof solution.
Regards,
Peter
Best Regards,
Peter
Peter
- paulsimon
- MVP
- Posts: 808
- Joined: Sat Sep 03, 2011 11:10 pm
- OLAP Product: TM1
- Version: PA 2.0.5
- Excel Version: 2016
- Contact:
Re: find a name of the client in process
Hi
You could try the attached. A typical call looks like this:
StringSessionVariable('svWhoAmI');
ExecuteProcess('zTD_Security_Get_User_Name_svWhoAmI') ;
vUser = svWhoAmI ;
It uses MDX to get the name of the current user, which I think was introduced a little earlier than the TM1UserName function in TI, so it may work in your version.
Regards
Paul Simon
You could try the attached. A typical call looks like this:
StringSessionVariable('svWhoAmI');
ExecuteProcess('zTD_Security_Get_User_Name_svWhoAmI') ;
vUser = svWhoAmI ;
It uses MDX to get the name of the current user, which I think was introduced a little earlier than the TM1UserName function in TI, so it may work in your version.
Regards
Paul Simon
- Attachments
-
- zTD_Security_Get_User_Name_svWhoAmI.zip
- (1.1 KiB) Downloaded 325 times
Re: find a name of the client in process
thanks you !!!
it is work!!
have a nice day
Boris
it is work!!
have a nice day
Boris