Skip to main content

GetAwayUsers

This Script is part of the Shift Management Pack.#

Supported versions

Supported Cortex XSOAR versions: 5.5.0 and later.

Returns a list of all the users marked as away in Cortex XSOAR

Script Data#


NameDescription
Script Typepython3
Tags
Cortex XSOAR Version5.5.0

Inputs#


There are no inputs for this script.

Outputs#


PathDescriptionType
AwayUsers.idAway user ID.String
AwayUsers.usernameAway user username.String
AwayUsers.nameAway user name.String
AwayUsers.phoneAway user phone.String
AwayUsers.rolesAway user roles.Unknown
AwayUsers.emailAway user email.Unknown

Script Example#

!GetAwayUsers

Context Example#

{
"CortexXSOAR": {
"AwayUsers": {
"email": "admintest@demisto.com",
"id": "admin",
"name": "Admin Dude",
"phone": "+650-123456",
"roles": {
"demisto": [
"Administrator"
]
},
"username": "admin"
}
}
}

Human Readable Output#

Away Users#

EmailIdNamePhoneRolesUsername
admintest@demisto.comadminAdmin Dude+650-123456demisto: Administratoradmin