A User Object contains the following fields:
| Attribute | Type | Description |
|---|---|---|
| Key | Integer | The Slemma defined id representing the user |
| Type | Enum | The type of the user. The attribute defines weather the user is an external user or the internal one. Possible values are listed here. |
| Role | Enum | The role of the user. Users of type 'User' may have either 'User' or 'Admin' role, but users of type 'Client' may only have 'User' role. |
| CanCreate | Array of Objects | List of object types the user is allowed to create. Field is not provided for users of type 'Client' or for users with 'Admin' role. |
| FirstName | String | User first name |
| LastName | String | User last name |
| String | Email address of the user | |
| GroupKey | Integer | The Slemma defined id representing the group the user belongs to. |
| CreatedAt | TimeStamp | The time the user was created |
| AuthType | String | The authorization type of a user. The attribute defines how the user is authorized in Slemma; The user may sign in using the email address or one of the social buttons. Possible values are listed here. |
| TeamAttributes | Array of Objects | An array containing Team Attributes each with specified values on the field. |
| Key | Integer | A unique identifier for the team attribute. |
| Name | String | The name of the attribute. |
| Value | String | A value for the team attribute. |
