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

Method pull_users_with_progress

rust/src/collaboration/remote.rs:768–777  ·  view source on GitHub ↗

Pulls 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. # Arguments `progress` - Closure called to report progress. Takes current and total progress counts.

(&self, mut progress: P)

Source from the content-addressed store, hash-verified

766 ///
767 /// * `progress` - Closure called to report progress. Takes current and total progress counts.
768 pub fn pull_users_with_progress<P: ProgressCallback>(&self, mut progress: P) -> Result<(), ()> {
769 let success = unsafe {
770 BNRemotePullUsers(
771 self.handle.as_ptr(),
772 Some(P::cb_progress_callback),
773 &mut progress as *mut P as *mut c_void,
774 )
775 };
776 success.then_some(()).ok_or(())
777 }
778
779 /// Creates a new user on the remote and returns a reference to the created user.
780 ///

Callers 1

pull_usersMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected