0.9.0 (latest) 0.8.0 0.7.2 0.5.0 0.4.0 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle Client class Role.

User system roles.

Protobuf type `google.backstory.User.Role`

## Namespace

Google \\ Backstory \\ User

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### UNKNOWN_ROLE

```php
Value: 0
```
Default user role.

Generated from protobuf enum `UNKNOWN_ROLE = 0;`

### ADMINISTRATOR

```php
Value: 1
```
Product administrator with elevated privileges.

Generated from protobuf enum `ADMINISTRATOR = 1;`

### SERVICE_ACCOUNT

```php
Value: 2
```
System service account for automated privilege access.

Deprecated: not a role, instead set User.account_type.

Generated from protobuf enum `SERVICE_ACCOUNT = 2 [deprecated = true];`