• JMap.User.getUsername

    Returns the username (the one used to login).

    Returns string

    Example

    // returns the username
    JMap.User.getUsername()