Role

@Serializable
enum Role : Enum<Role>

The roles assigned to this user. Normal users do not have any roles assigned, but for developers, researchers, etc. their roles will appear hear (see main API documentation about the roles assigned by the Bridge server). |Role|Description| |---|---| |developer|A user with the rights to use the app configuration APIs (all admin APIs except for those APIs which expose information about study participants).| |researcher|The research role is assigned to users who have permission to see the users in a study and the activity of participants. We will assign this role to developers during the initial development of the application so they can view the uploads of test accounts, etc.| |admin|A Sage Bionetworks Bridge administrator (internal to Bridge).| |worker|A Sage Bionetworks worker process (internal to Bridge).| Values: "developer","researcher","admin","worker"

Entries

Link copied to clipboard
@SerialName(value = "developer")
DEVELOPER
Link copied to clipboard
@SerialName(value = "researcher")
RESEARCHER
Link copied to clipboard
@SerialName(value = "admin")
ADMIN
Link copied to clipboard
@SerialName(value = "worker")
WORKER

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val serialName: String? = null

Functions

Link copied to clipboard
fun valueOf(value: String): Role

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<Role>

Returns an array containing the constants of this enum type, in the order they're declared.