| Previous | Next | |
STF.getUserName() : StringA string.; This value is returned as a parameter to the registered callback. See the example below or STF.registerCallBack() for more information on return variable handling.
Method; Returns the name of the current user. Create and register a callback function to receive the return value.
The following example returns the current user name.
//define the callback
function onGetUserNameReturn(returnValue:Boolean) {
userName = returnValue;
}
//register callback
STF.registerCallBack("getUserName", onGetUserNameReturn, this);
STF.getUserName();| Questions or Feedback? | Previous | Next |