-
Notifications
You must be signed in to change notification settings - Fork 1
User
parkd126 edited this page Dec 26, 2018
·
7 revisions
Data type for storing information about individual TestRail users that are registered to a particular TestRail environment.
Name | Type | Description | Request Methods |
---|---|---|---|
String | The email address of the user as configured in TestRail | getUser, getUserByEmail, getUsers | |
id | Int | The unique ID of the user | getUser, getUserByEmail, getUsers |
isActive | Boolean | True if the user is active and false otherwise | getUser, getUserByEmail, getUsers |
name | String | The full name of the user | getUser, getUserByEmail, getUsers |
Returns an existing user.
Name | Type | Description | Required |
---|---|---|---|
userId | Int | The ID of the user | Yes |
val someUser = User().getUser(userId = 1)
Returns an existing user by his/her email address.
Name | Type | Description | Required |
---|---|---|---|
String | The email address to get the user for | Yes |
val someUser = User().getUserByEmail(email = "somename@somedomain.com")
Returns a list of users.
- List<User>
val someUsersList = User().getUsers()