# Function permissions::members::kick_or_ban

> `member.kick` and `member.ban`: not self (use `community.leave`); H1; H2.

`zaun_community_protocol::permissions::members::kick_or_ban` · Function

```rust
pub fn kick_or_ban(actor: &Party, target: &Party) -> Result<(), Refusal>
```

`member.kick` and `member.ban`: not self (use `community.leave`); H1; H2.

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/permissions/members/fn.kick_or_ban.html)
