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

Method is_admin

rust/src/collaboration/remote.rs:149–154  ·  view source on GitHub ↗

Checks if the current user is an administrator.

(&self)

Source from the content-addressed store, hash-verified

147
148 /// Checks if the current user is an administrator.
149 pub fn is_admin(&self) -> Result<bool, ()> {
150 if !self.has_pulled_users() {
151 self.pull_users()?;
152 }
153 Ok(unsafe { BNRemoteIsAdmin(self.handle.as_ptr()) })
154 }
155
156 /// Checks if the remote is the same as the Enterprise License server.
157 pub fn is_enterprise(&self) -> Result<bool, ()> {

Callers

nothing calls this directly

Calls 2

has_pulled_usersMethod · 0.45
pull_usersMethod · 0.45

Tested by

no test coverage detected