This is driving me crazy. I need php code to get the username (author of the current page) from the database so that I can use it in a server side library for something else. I don't want to query the db and get back the visitor or logged in visitor's username. I want to get back the username of the person whose content I'm looking at on the community builder component. If I'm looking at "Bob's" profile, I want to be able to query the db and get "bob" back, not the identity of the visitor.
Help!
thanks!