Query
query UsersByEmails($emails: [String!]!) {
usersByEmails(emails: $emails) {
assignedGlobalRoles {
permissions {
apiKeys
catalogAssets
classifications
domains
glossary
identityProviders
}
roles {
role {
__typename
}
source
team {
__typename
}
}
}
avatar
avatarThumbnail
createdAt
displayName
email
}
}Variables
{
"emails": [
"string"
]
}Response
{
"data": {
"usersByEmails": [
{
"assignedGlobalRoles": {
"permissions": {
"apiKeys": "READ",
"catalogAssets": "READ",
"classifications": "READ",
"domains": "READ",
"glossary": "READ",
"identityProviders": "READ"
},
"roles": [
{
"role": {
"__typename": "GlobalRoleConfig"
},
"source": "DIRECT",
"team": {
"__typename": "Team"
}
}
]
},
"avatar": "value",
"avatarThumbnail": "value",
"createdAt": "value",
"displayName": "string",
"email": "string"
}
]
}
}Queries
usersByEmails
Get user IDs by email addresses. Requires USERS_READ permissions.
QUERY
usersByEmails(emails: [String!]!): [User!]!Arguments
emails
[String!]!
required
Returns
[User!]!
assignedGlobalRoles
Assigned global roles including direct role and team roles with computed permissions
avatar
DataUrl!
URL of the user's avatar
avatarThumbnail
DataUrl!
URL of the user's avatar thumbnail
createdAt
DateTime!
Timestamp when the user was created
displayName
String!
Display name of the user
email
String
Email address of the user
fullName
String
Full name of the user
id
UserId!
Unique identifier for the user
identities
[Identity!]!
List of identities associated with the user
lastLoginAt
DateTime
Timestamp of the user's last login
loginType
Type of login for the user
namespaces
[Namespace!]!
Namespaces the user has access to
resourceName
String!
Unique resource name for the user
status
Current status of the user
teams
[Team!]!
Teams the user belongs to
updatedAt
DateTime!
Timestamp when the user was last updated
Query
query UsersByEmails($emails: [String!]!) {
usersByEmails(emails: $emails) {
assignedGlobalRoles {
permissions {
apiKeys
catalogAssets
classifications
domains
glossary
identityProviders
}
roles {
role {
__typename
}
source
team {
__typename
}
}
}
avatar
avatarThumbnail
createdAt
displayName
email
}
}Variables
{
"emails": [
"string"
]
}Response
{
"data": {
"usersByEmails": [
{
"assignedGlobalRoles": {
"permissions": {
"apiKeys": "READ",
"catalogAssets": "READ",
"classifications": "READ",
"domains": "READ",
"glossary": "READ",
"identityProviders": "READ"
},
"roles": [
{
"role": {
"__typename": "GlobalRoleConfig"
},
"source": "DIRECT",
"team": {
"__typename": "Team"
}
}
]
},
"avatar": "value",
"avatarThumbnail": "value",
"createdAt": "value",
"displayName": "string",
"email": "string"
}
]
}
}