public function fetchLocalUsername()
    {
        $localUsername = null;

        $role = $this->getRole();
        if ($role) {
            $roleParts = explode(':', $role->getRole());
            if (count($roleParts) === 3) {
                $localUsername = $roleParts[2];
            }
        }

        return $localUsername;
    }
public function fetchLocalUsername()
    {
        $localUsername = null;

        $role = $this->getRole();
        if ($role) {
            $roleParts = explode(':', $role->getRole());
            if (count($roleParts) === 3) {
                $localUsername = $roleParts[2];
            }
        }

        return $localUsername;
    }
public function fetchLocalUsername ( ) { $ localUsername = null ; $ role = $ this -> getRole ( ) ; if ( $ role ) { $ roleParts = explode ( ':' , $ role -> getRole ( ) ) ; if ( count ( $ roleParts ) === 3 ) { $ localUsername = $ roleParts [ 2 ] ; } } return $ localUsername ; }
Get the Attribution Role localUsername

@return null|string
Get the Attribution Role localUsername