collaboration.group module

Class

Description

binaryninja.collaboration.group.Group

Class representing a remote Group

class Group[source]

Bases: object

Class representing a remote Group

__init__(handle: LP_BNCollaborationGroup)[source]
Parameters:

handle (LP_BNCollaborationGroup) –

contains_user(username: str) bool[source]

Test if a group has a user with the given username

Parameters:

username (str) – Username of user to check membership

Returns:

If the user is in the group

Return type:

bool

property id: int

Unique id

Returns:

Id number

property name: str

Group name

Returns:

Name string

property remote: Remote

Owning Remote

Returns:

Remote object

property url: str

Web api endpoint url

Returns:

URL string

property users: List[Tuple[str, str]]

Get list of users in the group

Returns:

List of (userid, username) pairs

Group

class Group[source]

Bases: object

Class representing a remote Group

__init__(handle: LP_BNCollaborationGroup)[source]
Parameters:

handle (LP_BNCollaborationGroup) –

contains_user(username: str) bool[source]

Test if a group has a user with the given username

Parameters:

username (str) – Username of user to check membership

Returns:

If the user is in the group

Return type:

bool

property id: int

Unique id

Returns:

Id number

property name: str

Group name

Returns:

Name string

property remote: Remote

Owning Remote

Returns:

Remote object

property url: str

Web api endpoint url

Returns:

URL string

property users: List[Tuple[str, str]]

Get list of users in the group

Returns:

List of (userid, username) pairs