> ## Documentation Index
> Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Is Authorized

> Refreshes the RBAC policy from the server, then checks whether the logged-in member is authorized to perform [action] on [resourceId].

## Returns

`true` if the member is authorized; `false` otherwise.

<RequestExample>
  ```swift theme={null}
  let allowed = try await StytchB2B.rbac.isAuthorized(resourceId: "documents", action: "read")
  ```
</RequestExample>
