List Groups For Entity
workmail_list_groups_for_entity | R Documentation |
Returns all the groups to which an entity belongs¶
Description¶
Returns all the groups to which an entity belongs.
Usage¶
workmail_list_groups_for_entity(OrganizationId, EntityId, Filters,
NextToken, MaxResults)
Arguments¶
OrganizationId |
[required] The identifier for the organization under which the entity exists. |
EntityId |
[required] The identifier for the entity. The entity ID can accept UserId or GroupID, Username or Groupname, or email.
|
Filters |
Limit the search results based on the filter criteria. |
NextToken |
The token to use to retrieve the next page of results. The first call does not contain any tokens. |
MaxResults |
The maximum number of results to return in a single call. |
Value¶
A list with the following syntax:
list(
Groups = list(
list(
GroupId = "string",
GroupName = "string"
)
),
NextToken = "string"
)
Request syntax¶
svc$list_groups_for_entity(
OrganizationId = "string",
EntityId = "string",
Filters = list(
GroupNamePrefix = "string"
),
NextToken = "string",
MaxResults = 123
)