GetUserOofSettings
Provides access to the OOF settings of a user. A user is identified by the email address of the user. If the OOF message is null and OOF is enabled, no OOF message is sent.
Input
| Name | Type | Required | Description |
| User | String | False | The email address of the user whose OOF settings to retreive. |
| ImpersonationUser | String | False | The email address of the user to impersonate when requesting OOF settings. |
| ImpersonationType | String | False | The type of Identifier used for the impersonation user (PrincipalName, SID, PrimarySmtpAddress, SmtpAddress). |
Result Set Columns
| Name | Type | Description |
| OofState | String | The user's Out of Office (OOF) state. (Disabled or Enabled or Scheduled) |
| ExternalAudience | String | The value that determines to whom external Out of Office (OOF) messages are sent. (None or Known or All) |
| StartTime | String | Represents the start of the time span set with an OOF status. |
| EndTime | String | Represents the end of the time span set with an OOF status. |
| InternalReply | String | The out of office (OOF) response sent to other users in the user's domain or trusted domains. |
| ExternalReply | String | The out of office (OOF) response that is sent to addresses outside the recipient's domain or trusted domains. |