Pull the list of users from the Remote. .. note:: This function is only available to accounts with admin status on the Remote. \ Non-admin accounts attempting to call this function will pull an empty list of users. :param progress: Function to call for progress updates :raises: RuntimeE
(self, progress: 'util.ProgressFuncType' = util.nop)
| 673 | return result |
| 674 | |
| 675 | def pull_users(self, progress: 'util.ProgressFuncType' = util.nop): |
| 676 | """ |
| 677 | Pull the list of users from the Remote. |
| 678 | |
| 679 | .. note:: This function is only available to accounts with admin status on the Remote. \ |
| 680 | Non-admin accounts attempting to call this function will pull an empty list of users. |
| 681 | |
| 682 | :param progress: Function to call for progress updates |
| 683 | :raises: RuntimeError if there was an error pulling users |
| 684 | """ |
| 685 | if not core.BNRemotePullUsers(self._handle, util.wrap_progress(progress), None): |
| 686 | raise RuntimeError(util._last_error()) |
| 687 | |
| 688 | def create_user(self, username: str, email: str, is_active: bool, password: str, group_ids: List[int], user_permission_ids: List[int]) -> 'user.User': |
| 689 | """ |
no outgoing calls
no test coverage detected