| skipped 334 lines |
335 | 335 | | domain = args_parser.get(3, self.__default_domain) |
336 | 336 | | process_ms_timeout = args_parser.get(4, self.__default_process_ms_timeout) |
337 | 337 | | logon_type = args_parser.get(5, self.__default_logon_type) |
| 338 | + | if process_ms_timeout == '' or logon_type == '': |
| 339 | + | raise self._exception_class('#runas: process_ms_timeout and logon_type field cannot be empty.\n') |
338 | 340 | | return cmd, username, password, domain,process_ms_timeout, logon_type |
339 | 341 | | |
340 | 342 | | def _create_request(self, args): |
| skipped 9 lines |