# clanbite_teams_get_member_role()

Role slug for a member, or `null` if they are not on the roster (and not the owner fallback).

```php
clanbite_teams_get_member_role( int $team_id, int $user_id ): ?string
```

## Parameters

- `$team_id` (int) Team post ID.
- `$user_id` (int) User ID.

## Return

`string|null`
