> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.sigmacomputing.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.sigmacomputing.com/_mcp/server.

# CurrentUserInTeam

Returns True if the current user is a member of any of the given teams.

## Usage

`CurrentUserInTeam(team)`

**team** (required)- The team name (or comma separated list of team names) to test with.

Team names are case-sensitive.

## Example

`CurrentUserInTeam("Marketing", "Sales")`

* Returns True if the user currently viewing the data is in either the Marketing or Sales teams.

## Related resources

* [Set up row-level security](/docs/set-up-row-level-security)