Help for {$user.} variables

Subscribe to Help for {$user.} variables 7 posts, 2 voices

 
?path=bbsim&height=32 Basic Busine... 173 posts I've looked in help and searched these support messages. I am looking for a comprehensive list of the {$user.} global variables and how they can/ought be used in various components such as the login component, in the document settings, and for component conditionals.

Related...when a Forio account is created the person declares a username. I see reference to {$user.firstname}, {$user.lastname}, and {$user.fullname} but not {$user.username}. Does it exist? If not, what is the string that {$user.fullname} parses? For example, would it be BillBraun, Bill Braun (explicit space character), or something else?

The context here is that I am establishing a demo login for a sim (e.g., username: xxxxdemo, password: xxxxdemo) and want to restrict page and component access based on that login.

If there is another approach that makes more sense for demo versions, a nod in that direction would be appreciated.

Thank you.
 
?path=billy&height=32 Billy Schoen... Administrator 255 posts Hey Bill,

Here is a list of the current {$} variables

{$Run.Time}
{$Run.TimeFormatted}
{$Run.Step}
{$Run.EndStep}
{$Run.EndTime}
{$Run.StartTime}
{$Run.Id}
{$Run.Run Count}
{$Run.Run Limit}
{$Team.Joined Users}
{$Team.All Users}
{$User.First Name}
{$User.Last Name}
{$User.Full Name}
{$User.Email}
{$User.Role}
{$User.Team}
{$User.Ready To Step}
{$User.Ready To Reset}
{$User.LoggedIn}
{$User.Facilitator}
{$User.UserGroup} <-- New, will be added to address this issue.

What you will want to do is to create two groups in the User Access tab.  Then you will be able to conditionals on the users group directing people to different pages based on the group.  This solution will allow your simulation to be a lot less brittle (since you will not have to hard code in peoples names).  We will release the new {$} variable feature for your use on Friday.

Billy
 
?path=bbsim&height=32 Basic Busine... 173 posts Billy, I gather from this that "UserGroup" will include "Demo" or some such designation?

Thank you for your help on this.
 
?path=billy&height=32 Billy Schoen... Administrator 255 posts Hey,

So when you create groups in the User Access tab you can give them names, for instance demo.

So the value reported by {$User.UserGroup} will be the name of that users group.

Billy
 
?path=bbsim&height=32 Basic Busine... 173 posts That provides enormous flexibility. Thank you, Billy.
 
?path=billy&height=32 Billy Schoen... Administrator 255 posts Hello Bill,

I am sorry to report that we will not be able to release this functionality for use by you on Friday, the release is not ready yet.  Our next deployment is scheduled for the middle of next week.  When I have the exact date I will let you know.

Thanks so much for your patience!

Billy
 
?path=bbsim&height=32 Basic Busine... 173 posts Thanks for the note, Billy, that will work just fine. Thank you for all your help and effort.

Bill

Please log in to reply to topics.

Forums Support