Skip to content

Simulates the effect of the mobile device access rules for the given attributes of a sample access event

Description

Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the WorkMail organization for a particular user's attributes.

Usage

workmail_get_mobile_device_access_effect(OrganizationId, DeviceType,
  DeviceModel, DeviceOperatingSystem, DeviceUserAgent)

Arguments

  • OrganizationId

    [required] The WorkMail organization to simulate the access effect for.

  • DeviceType

    Device type the simulated user will report.

  • DeviceModel

    Device model the simulated user will report.

  • DeviceOperatingSystem

    Device operating system the simulated user will report.

  • DeviceUserAgent

    Device user agent the simulated user will report.

Value

A list with the following syntax:

list(
  Effect = "ALLOW"|"DENY",
  MatchedRules = list(
    list(
      MobileDeviceAccessRuleId = "string",
      Name = "string"
    )
  )
)

Request syntax

svc$get_mobile_device_access_effect(
  OrganizationId = "string",
  DeviceType = "string",
  DeviceModel = "string",
  DeviceOperatingSystem = "string",
  DeviceUserAgent = "string"
)