getUsers
suspend fun getUsers(ids: List<String> = emptyList(), logins: List<String> = emptyList()): List<User>
Gets information about one or more users.
You may look up users using their user ID, login name, or both but the total number of entries must not exceed 100.
If you don't specify IDs or login names, the request returns information about the user in the access token if you specify a user access token.
To include the user's verified email address in the response, you must use a user access token that includes the user:read:email scope.
Return
the list of matching users.
Parameters
ids
the IDs of the users to get. You may specify a maximum of 100 IDs.
logins
the login names of the users to get. You may specify a maximum of 100 login names.