MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / pull_users

Method pull_users

python/collaboration/remote.py:675–686  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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 """

Callers 5

is_adminMethod · 0.95
usersMethod · 0.95
get_user_by_idMethod · 0.95
get_user_by_usernameMethod · 0.95
current_userMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected