User
User
User
Represents a user in the system
Kind: Object
Fields
| Field | Type | Description |
|---|---|---|
company |
SimpleCompany! |
The company this user belongs to |
createdAt |
DateTime! |
Timestamp when the user was created |
email |
EmailAddress |
Email address of the user |
externalId |
String |
External system identifier for the user |
groups |
[Group!]! |
Groups this user belongs to |
id |
ID! |
Unique identifier for the user |
isActive |
Boolean! |
Indicates if the user is active and able to authenticate. If not can be reactivated with ‘reactivateUser’ mutation |
name |
String |
Full name of the user |
permissions |
[String!]! |
List of permissions granted to this user (derived from groups and direct assignments) |
phone |
PhoneNumber |
Phone number of the user |
updatedAt |
DateTime! |
Timestamp when the user was last updated |
username |
String |
Username used for authentication |
Definition
"""Represents a user in the system"""
type User {
"""The company this user belongs to"""
company: SimpleCompany!
"""Timestamp when the user was created"""
createdAt: DateTime!
"""Email address of the user"""
email: EmailAddress
"""External system identifier for the user"""
externalId: String
"""Groups this user belongs to"""
groups: [Group!]!
"""Unique identifier for the user"""
id: ID!
"""
Indicates if the user is active and able to authenticate. If not can be reactivated with 'reactivateUser' mutation
"""
isActive: Boolean!
"""Full name of the user"""
name: String
"""
List of permissions granted to this user (derived from groups and direct assignments)
"""
permissions: [String!]!
"""Phone number of the user"""
phone: PhoneNumber
"""Timestamp when the user was last updated"""
updatedAt: DateTime!
"""Username used for authentication"""
username: String
}