When the GraphQL query is run, although there are 4 registered users with the role or user type 'ADMIN' in the system, only 1 user is returned. This suggests that there may be a problem with the query or SearchText filter.
Query Details:
query users {
users(filter: {
SearchText: "ADMIN"
}) {
Total
Users {
Id
UserName
Email
Role
UserType
UserStatus
UserBase {
Tags
FirstName
LastName
}
UpdatedAt
}
}
}
Expected Result:
As a result of the query, all users with the role or user type 'ADMIN' (4 users in this example) are expected to be listed.
Question:
Is the query working correctly or is there an error in the SearchText filter? Is the 'SearchText' filter searching for usernames, email addresses or some other field?
In light of this information, it is recommended that the technical team investigate the problem and update the query or filters if necessary.
When the GraphQL query is run, although there are 4 registered users with the role or user type 'ADMIN' in the system, only 1 user is returned. This suggests that there may be a problem with the query or SearchText filter.
Query Details:
Expected Result: As a result of the query, all users with the role or user type 'ADMIN' (4 users in this example) are expected to be listed.
Result Received:
Question: Is the query working correctly or is there an error in the SearchText filter? Is the 'SearchText' filter searching for usernames, email addresses or some other field?
In light of this information, it is recommended that the technical team investigate the problem and update the query or filters if necessary.