EnterpriseUserAccount

This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see the Enterprise accounts preview for more details.

Note: The GraphQL resources under preview cannot be accessed via the Explorer at this time.

An account for a user who is an admin of an enterprise or a member of an enterprise through one or more organizations.

Implements

Connections

organizations (EnterpriseOrganizationMembershipConnection!)

A list of enterprise organizations this user is a member of.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

orderBy OrganizationOrder

Ordering options for organizations returned from the connection.

The default value is {"field"=>"LOGIN", "direction"=>"ASC"}.

query String

The search string to look for.

role EnterpriseUserAccountMembershipRole

The role of the user in the enterprise organization.

Fields

avatarUrl (URI!)

A URL pointing to the enterprise user account's public avatar.

Argument Type Description
size Int

The size of the resulting square image.

createdAt (DateTime!)

Identifies the date and time when the object was created.

enterprise (Enterprise!)

The enterprise in which this user account exists.

id (ID!)
login (String!)

An identifier for the enterprise user account, a login or email address

name (String)

The name of the enterprise user account

resourcePath (URI!)

The HTTP path for this actor.

updatedAt (DateTime!)

Identifies the date and time when the object was last updated.

url (URI!)

The HTTP URL for this actor.

user (User)

The user within the enterprise.