collaboration.group module

binaryninja.collaboration.group.Group(handle)

Class representing a remote Group

class Group(handle: LP_BNCollaborationGroup)[source]

Bases: object

Class representing a remote Group

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