Skip to content

Get Access Control Effect

workmail_get_access_control_effect R Documentation

Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, and user ID or impersonation role ID

Description

Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS.

Usage

workmail_get_access_control_effect(OrganizationId, IpAddress, Action,
  UserId, ImpersonationRoleId)

Arguments

OrganizationId

[required] The identifier for the organization.

IpAddress

[required] The IPv4 address.

Action

[required] The access protocol action. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

UserId

The user ID.

ImpersonationRoleId

The impersonation role ID.

Value

A list with the following syntax:

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

Request syntax

svc$get_access_control_effect(
  OrganizationId = "string",
  IpAddress = "string",
  Action = "string",
  UserId = "string",
  ImpersonationRoleId = "string"
)