Get Impersonation Role Effect
workmail_get_impersonation_role_effect | R Documentation |
Tests whether the given impersonation role can impersonate a target user¶
Description¶
Tests whether the given impersonation role can impersonate a target user.
Usage¶
workmail_get_impersonation_role_effect(OrganizationId,
ImpersonationRoleId, TargetUser)
Arguments¶
OrganizationId |
[required] The WorkMail organization where the impersonation role is defined. |
ImpersonationRoleId |
[required] The impersonation role ID to test. |
TargetUser |
[required] The WorkMail organization user chosen to test the impersonation role. The following identity formats are available:
|
Value¶
A list with the following syntax:
list(
Type = "FULL_ACCESS"|"READ_ONLY",
Effect = "ALLOW"|"DENY",
MatchedRules = list(
list(
ImpersonationRuleId = "string",
Name = "string"
)
)
)
Request syntax¶
svc$get_impersonation_role_effect(
OrganizationId = "string",
ImpersonationRoleId = "string",
TargetUser = "string"
)