Get Users Count
note
The functions described is accessible only to users with ADMIN privileges.
The getUserCount
query is used to retrieve the total number of users in the system. This query can be executed by users with ADMIN privileges.
Query: getUserCount
Schema:
getUserCount: Int
Parameters
- None
Return
The query returns an integer representing the total count of users.
Example Query
The following is an example of how to use the getUserCount
query to retrieve the total number of users:
query {
getUserCount
}
In this example, the query returns the total count of users in the system.