Catrina; smf:hasCurrentUser() does as it says and checks whether a user is logged in. Its primary purpose is to be used before smf:currentUserName() to avoid exceptions.
smf:currentUserName() will get the user name for a session. -- Scott On Mar 23, 9:53 am, Catrina <[email protected]> wrote: > I noticed that TopBraid 3.4.2 contains the following function: > smf:hasCurrentUser > > The documentation for the function states the following and shows that > there are no arguments and returns a boolean result: > Checks if there is a user that is currently logged into TopBraid > > Would you explain a bit further what this function provides? An > example use case may be helpful as well if possible. Does this > function just check to see if any users are logged into TopBraid? And > is that TopBraid Live? > > Thanks, > Catrina -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en
