Skip to content

Is Member In Groups

identitystore_is_member_in_groups R Documentation

Checks the user's membership in all requested groups and returns if the member exists in all queried groups

Description

Checks the user's membership in all requested groups and returns if the member exists in all queried groups.

If you have administrator access to a member account, you can use this API from the member account. Read about member accounts in the Organizations User Guide.

Usage

identitystore_is_member_in_groups(IdentityStoreId, MemberId, GroupIds)

Arguments

IdentityStoreId

[required] The globally unique identifier for the identity store.

MemberId

[required] An object containing the identifier of a group member.

GroupIds

[required] A list of identifiers for groups in the identity store.

Value

A list with the following syntax:

list(
  Results = list(
    list(
      GroupId = "string",
      MemberId = list(
        UserId = "string"
      ),
      MembershipExists = TRUE|FALSE
    )
  )
)

Request syntax

svc$is_member_in_groups(
  IdentityStoreId = "string",
  MemberId = list(
    UserId = "string"
  ),
  GroupIds = list(
    "string"
  )
)