Skip to content

Get Impersonation Role

workmail_get_impersonation_role R Documentation

Gets the impersonation role details for the given WorkMail organization

Description

Gets the impersonation role details for the given WorkMail organization.

Usage

workmail_get_impersonation_role(OrganizationId, ImpersonationRoleId)

Arguments

OrganizationId

[required] The WorkMail organization from which to retrieve the impersonation role.

ImpersonationRoleId

[required] The impersonation role ID to retrieve.

Value

A list with the following syntax:

list(
  ImpersonationRoleId = "string",
  Name = "string",
  Type = "FULL_ACCESS"|"READ_ONLY",
  Description = "string",
  Rules = list(
    list(
      ImpersonationRuleId = "string",
      Name = "string",
      Description = "string",
      Effect = "ALLOW"|"DENY",
      TargetUsers = list(
        "string"
      ),
      NotTargetUsers = list(
        "string"
      )
    )
  ),
  DateCreated = as.POSIXct(
    "2015-01-01"
  ),
  DateModified = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$get_impersonation_role(
  OrganizationId = "string",
  ImpersonationRoleId = "string"
)