Skip to main content

User

A user known to the Gropius System. This might be a user that registered directly, or a user the systems know via a sync adapter. A user can create AuditedNodes, participate in Issues and be assigned to Issues. READ is always granted.

interface User implements BaseNode, Node {
assignments(
after: String
before: String
filter: AssignmentFilterInput
first: Int
last: Int
orderBy: [AssignmentOrder!]
skip: Int
): AssignmentConnection!
avatar: URL!
createdNodes(
after: String
before: String
filter: AuditedNodeFilterInput
first: Int
last: Int
orderBy: [AuditedNodeOrder!]
skip: Int
): AuditedNodeConnection!
displayName: String!
email: String
hasPermission(
permission: AllPermissionEntry
): Boolean!
id: ID!
participatedIssues(
after: String
before: String
filter: IssueFilterInput
first: Int
last: Int
orderBy: [IssueOrder!]
skip: Int
): IssueConnection!
username: String
}

Fields

User.assignments ● AssignmentConnection! non-null object

Assignments the user is part of, this includes assignments which aren't active.

User.assignments.after ● String scalar

Get only items after the cursor

User.assignments.before ● String scalar

Get only items before the cursor

User.assignments.filter ● AssignmentFilterInput input

Filter for specific items in the connection

User.assignments.first ● Int scalar

Get the first n items. Must not be used if before is specified

User.assignments.last ● Int scalar

Get the last n items. Must not be used if after is specified

User.assignments.orderBy ● [AssignmentOrder!] list input

Order in which the items are sorted

User.assignments.skip ● Int scalar

Skips n items. First or last MUST be specified, is otherwise ignored

User.avatar ● URL! non-null scalar

The avatar of the user.

User.createdNodes ● AuditedNodeConnection! non-null object

AuditedNodes the user created.

User.createdNodes.after ● String scalar

Get only items after the cursor

User.createdNodes.before ● String scalar

Get only items before the cursor

User.createdNodes.filter ● AuditedNodeFilterInput input

Filter for specific items in the connection

User.createdNodes.first ● Int scalar

Get the first n items. Must not be used if before is specified

User.createdNodes.last ● Int scalar

Get the last n items. Must not be used if after is specified

User.createdNodes.orderBy ● [AuditedNodeOrder!] list input

Order in which the items are sorted

User.createdNodes.skip ● Int scalar

Skips n items. First or last MUST be specified, is otherwise ignored

User.displayName ● String! non-null scalar

The name which should be displayed for the user.

User.email ● String scalar

The email address of the user.

User.hasPermission ● Boolean! non-null scalar

Checks if the current user has a specific permission on this Node

User.hasPermission.permission ● AllPermissionEntry enum

The permission to check for

User.id ● ID! non-null scalar

The unique id of this node

User.participatedIssues ● IssueConnection! non-null object

Issues the user participated in.

User.participatedIssues.after ● String scalar

Get only items after the cursor

User.participatedIssues.before ● String scalar

Get only items before the cursor

User.participatedIssues.filter ● IssueFilterInput input

Filter for specific items in the connection

User.participatedIssues.first ● Int scalar

Get the first n items. Must not be used if before is specified

User.participatedIssues.last ● Int scalar

Get the last n items. Must not be used if after is specified

User.participatedIssues.orderBy ● [IssueOrder!] list input

Order in which the items are sorted

User.participatedIssues.skip ● Int scalar

Skips n items. First or last MUST be specified, is otherwise ignored

User.username ● String scalar

The identifier of the user. This is only unique for GropiusUsers, for IMSUsers, no constrains v are guaranteed.

Interfaces

BaseNode interface

Shared extensions to the node type.

Node interface

Base class of all nodes

Returned by

searchUsers query

Member of

AbstractTypeChangedEvent interface ● AddedAffectedEntityEvent object ● AddedArtefactEvent object ● AddedLabelEvent object ● AddedToPinnedIssuesEvent object ● AddedToTrackableEvent object ● Artefact object ● Assignment object ● AssignmentTypeChangedEvent object ● AuditedNode interface ● Body object ● Comment interface ● IncomingRelationTypeChangedEvent object ● Issue object ● IssueComment object ● IssueRelation object ● Label object ● NamedAuditedNode interface ● OutgoingRelationTypeChangedEvent object ● ParentTimelineItem interface ● PriorityChangedEvent object ● RelatedByIssueEvent object ● RelationTypeChangedEvent interface ● RemovedAffectedEntityEvent object ● RemovedArtefactEvent object ● RemovedAssignmentEvent object ● RemovedFromPinnedIssuesEvent object ● RemovedFromTrackableEvent object ● RemovedIncomingRelationEvent object ● RemovedLabelEvent object ● RemovedOutgoingRelationEvent object ● RemovedRelationEvent interface ● RemovedTemplatedFieldEvent object ● StateChangedEvent object ● TemplateChangedEvent object ● TemplatedFieldChangedEvent object ● TimelineItem interface ● TitleChangedEvent object ● TypeChangedEvent object ● UserConnection object ● UserEdge object

Implemented by

GropiusUser object ● IMSUser object