# OrganizationProfileView

![The OrganizationProfileView renders the Active Organization's management interface, including members, domains, and other Organization settings.](https://clerk.com/docs/raw/_public/images/ui-components/android-organization-profile-view.png){{ style: { maxWidth: '427px' } }}

The `OrganizationProfileView` renders the Active Organization's management interface. It includes permission-gated Organization profile editing, member management, invitations, membership requests, Verified Domains, and flows for leaving or deleting the Organization.

`OrganizationProfileView` renders content only when a session has an Active Organization. Rows and actions are shown according to the current user's Organization membership permissions and the current environment settings.

## Parameters

| Name              | Type                                | Description                                                                                                                                                                                                                                                                                                                             |
| ----------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| modifier          | Modifier                            | A modifier that gets applied to OrganizationProfileView.                                                                                                                                                                                                                                                                                |
| clerkTheme        | ClerkTheme?                         | The theme to apply to the OrganizationProfileView.                                                                                                                                                                                                                                                                                      |
| isDismissable     | Boolean                             | Whether the view can be dismissed by the user. When true, a dismiss button appears in the navigation bar. When false, no dismiss button is shown. Defaults to true.                                                                                                                                                                     |
| customRows        | List<OrganizationProfileCustomRow> | Custom rows to display on the profile root screen.                                                                                                                                                                                                                                                                                      |
| customDestination | (@Composable (String) -> Unit)?     | Destination builder for custom rows. The destination receives the tapped row's routeKey. Custom rows are ignored when this is null.                                                                                                                                                                                                     |
| onDismiss         | () -> Unit                          | Called when the view is dismissed or when no Active OrganizationA user can be a member of multiple Organizations, but only one can be active at a time. The Active Organization determines which Organization-specific data the user can access and which Role and related Permissions they have within the Organization. is available. |

## Visible rows and permissions

The profile view shows Organization controls based on the active membership's permissions and instance settings:

- **Update profile** appears when the user has `canManageProfile`.
- **Members** appears when the user has `canReadMemberships` or `canManageMemberships`.
- **Verified domains** appears when Organization domains are enabled and the user has `canReadDomains` or `canManageDomains`.
- **Leave Organization** appears when there is an Active Organization membership.
- **Delete Organization** appears when dashboard admin delete is enabled, `organization.adminDeleteEnabled` is `true`, and the user has `canDeleteOrganization`.

## Custom rows

Use `OrganizationProfileCustomRow` to insert custom rows relative to built-in rows or sections.

Related types:

- `OrganizationProfileCustomRow`
- `OrganizationProfileRowIcon`
- `OrganizationProfileCustomRowPlacement`
- `OrganizationProfileRow`
- `OrganizationProfileSection`

## Usage

The following examples show how to use the `OrganizationProfileView` in your app.

### Fullscreen Organization profile

```kotlin
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import com.clerk.ui.organizationprofile.OrganizationProfileView

@Composable
fun OrganizationSettingsScreen(onDone: () -> Unit) {
    OrganizationProfileView(
        modifier = Modifier.fillMaxSize(),
        isDismissable = true,
        onDismiss = onDone,
    )
}
```

### Custom rows and destinations

```kotlin
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Settings
import com.clerk.ui.organizationprofile.OrganizationProfileView
import com.clerk.ui.organizationprofile.custom.OrganizationProfileCustomRow
import com.clerk.ui.organizationprofile.custom.OrganizationProfileCustomRowPlacement
import com.clerk.ui.organizationprofile.custom.OrganizationProfileRow
import com.clerk.ui.organizationprofile.custom.OrganizationProfileRowIcon
import com.clerk.ui.organizationprofile.custom.OrganizationProfileSection

val rows = listOf(
    OrganizationProfileCustomRow(
        routeKey = "settings",
        title = "Settings",
        icon = OrganizationProfileRowIcon.Vector(Icons.Filled.Settings),
        placement = OrganizationProfileCustomRowPlacement.After(OrganizationProfileRow.Members),
    ),
    OrganizationProfileCustomRow(
        routeKey = "support",
        title = "Support",
        icon = OrganizationProfileRowIcon.Vector(Icons.Filled.Settings),
        placement = OrganizationProfileCustomRowPlacement.SectionEnd(OrganizationProfileSection.Actions),
    ),
)

OrganizationProfileView(
    customRows = rows,
    customDestination = { routeKey ->
        when (routeKey) {
            // Replace this placeholder with the custom view for your Settings row.
            "settings" -> OrganizationSettingsContent()
            // Replace this placeholder with the custom view for your Support row.
            "support" -> OrganizationSupportContent()
        }
    },
)
```

---

## Sitemap

[Overview of all docs pages](https://clerk.com/docs/llms.txt)
