PermissionCollection module

class PermissionCollection.PermissionCollection

Bases: CollectionEx

A collection of Permission objects that represent the permission in the document.

Clear()

Removes all permissions from the document.

FindById(id: str) Permission

Finds Permission object by specified id.

Remove(permission: Permission)

Removes the specified permission.

RemoveAt(index: int)

Removes a permission at the specified index.

get_Item

Gets the Permission with the specified id.