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

Method is_admin

python/collaboration/remote.py:187–200  ·  view source on GitHub ↗

If the currently connected user is an administrator. .. note:: If users have not been pulled, they will attempt to be pulled upon calling this. :return: True if the user is an administrator

(self)

Source from the content-addressed store, hash-verified

185
186 @property
187 def is_admin(self) -> bool:
188 """
189 If the currently connected user is an administrator.
190
191 .. note:: If users have not been pulled, they will attempt to be pulled upon calling this.
192
193 :return: True if the user is an administrator
194 """
195
196 # This is the test by which the api knows it is an admin
197 if not self.has_pulled_users:
198 self.pull_users()
199
200 return core.BNRemoteIsAdmin(self._handle)
201
202 @property
203 def is_enterprise(self) -> bool:

Callers

nothing calls this directly

Calls 1

pull_usersMethod · 0.95

Tested by

no test coverage detected