TeamInfo
Retrieves the Do Not Disturb status for up to 50 users on a team.
Select
The add-in uses the Slack API to filter the results by the following columns and operators while the rest of the filter is executed client-side within the add-in.
The TeamInfo table requires the User column in the WHERE clause; otherwise, the driver automatically adds the column.
- User supports the =,IN operator.
SELECT * FROM TeamInfo WHERE User = 'U01KZFNNTPC'
SELECT * FROM TeamInfo WHERE User IN ('U01KZFNNTPC','U04QTH44D9S')
Columns
| Name | Type | References | Description |
| User | String | The Id of the user. | |
| DndEnabled | Boolean | Indicates whether DND is enabled. | |
| NextDndStartTime | Datetime | The next DND Start time. | |
| NextDndEndTime | Datetime | The next DND End time. |