public function InviteMemberToCommunity(string $toLoginName, string $community = NULL)
    {
        $this->ExecuteCall("InviteMemberToCommunity", (object)[
            "community" => $community,
            "toLoginName" => $toLoginName
        ], GnResponseType::Json, FALSE, PHP_INT_MAX);
    }
public function InviteMemberToCommunity(string $toLoginName, string $community = NULL)
    {
        $this->ExecuteCall("InviteMemberToCommunity", (object)[
            "community" => $community,
            "toLoginName" => $toLoginName
        ], GnResponseType::Json, FALSE, PHP_INT_MAX);
    }
public function InviteMemberToCommunity ( string $ toLoginName , string $ community = NULL ) { $ this -> ExecuteCall ( "InviteMemberToCommunity" , ( object ) [ "community" => $ community , "toLoginName" => $ toLoginName ] , GnResponseType :: Json , FALSE , PHP_INT_MAX ) ; }
Sends a nose-mail invitation to a new community member.

@param string $toLoginName
To whom to send the invitation.
@param string $community
Which community invite into; default is the main mashup community.
Sends a nose - mail invitation to a new community member .