Difference between revisions of "Find ACP Current User"
m (Max moved page The ACP Diagram to Find ACP Current User without leaving a redirect: Original title is unhelpful) |
m |
||
Line 1: | Line 1: | ||
[[Category: Analytica Cloud Player]] | [[Category: Analytica Cloud Player]] | ||
− | + | Here is how to get the name (usually email address) of the current user in an ACP model. (This is a temporary method that we expect to replace with a more general feature in a future ACP release.) | |
− | |||
*Open the model in Desktop Analytica. | *Open the model in Desktop Analytica. | ||
− | * | + | *When running the model in Analytica, add a variable whose identifier is exactly <code>Acp_current_user:</code> |
<br> | <br> | ||
:[[File:ACP current user01.PNG]] | :[[File:ACP current user01.PNG]] | ||
+ | When you run the model in ACP, and evaluate Acp_current_user, the result is a text value containing the user's email address -- e.g. 'fbrunton@lumina.com'. | ||
+ | |||
+ | If the user is running an ACP model from an email invite, ACP doesn't know the name/email address of the user, and the result will be 'anonymous'. | ||
− | |||
<br> | <br> | ||
Revision as of 17:38, 1 September 2016
Here is how to get the name (usually email address) of the current user in an ACP model. (This is a temporary method that we expect to replace with a more general feature in a future ACP release.)
- Open the model in Desktop Analytica.
- When running the model in Analytica, add a variable whose identifier is exactly
Acp_current_user:
When you run the model in ACP, and evaluate Acp_current_user, the result is a text value containing the user's email address -- e.g. 'fbrunton@lumina.com'.
If the user is running an ACP model from an email invite, ACP doesn't know the name/email address of the user, and the result will be 'anonymous'.
See Also
Comments
Enable comment auto-refresher