dk.sdu.cloud.Role

UCloud Developer Guide / Core / Core Types

Role

Represents a SecurityPrincipal's system-wide role.

enum class Role {
    GUEST,
    USER,
    ADMIN,
    SERVICE,
    THIRD_PARTY_APP,
    PROVIDER,
    UNKNOWN,
}

This is usually not used for application-specific authorization.

Services are encouraged to implement their own authorization control, potentially from a common library.

Properties

Last updated