- Introduction
- In this documentation
- Resources
- Using exporters
- Building exporters
- Building with SDK
- Building Custom Documentation
-
SDK Reference
- Supernova SDK object
- Reading & Writing
-
Data Model
- System Objects
- Tokens
- Components
- Custom Properties
- Assets
- Documentation
- Pipelines
-
Enums
- Alignment
- Asset format
- Asset scale
- Asset scale type
- Blur type
- Border position
- Border style
- Docs block type
- Docs block theme type
- Docs environment
- Docs callout type
- Docs group behavior
- Docs heading type
- Docs item type
- Docs page asset type
- Frame alignment
- Frame layout
- Gradient type
- Rich text span attribute type
- Shadow type
- Source type
- Text case
- Text decoration
- Token type
- Unit
- User role
- Other
User role
A role of the user within a specific workspace.
Available from: 2.0.0
Import
import { UserRole } from "@supernovaio/sdk"
Cases
The following enumeration cases are available:
- owner: Represents the owner role, typically with full control and access rights.
- admin: Represents the admin role, often responsible for managing users and settings.
- creator: Represents the creator role, often responsible for creating and managing content.
- viewer: Represents the viewer role, typically with read-only access.
- billing: Represents the billing role, responsible for managing billing and subscription-related tasks.
Formal definition
enum UserRole {
owner = "Owner",
admin = "Admin",
creator = "Creator",
viewer = "Viewer",
billing = "Billing",
}
© 2023 Next Developer Docs. Page last updated on Nov 8, 2023, 14:14