Skip to content

Get Group Membership Id

identitystore_get_group_membership_id R Documentation

Retrieves the MembershipId in an identity store

Description

Retrieves the MembershipId in an identity store.

If you have access to a member account, you can use this API operation from the member account. For more information, see Limiting access to the identity store from member accounts in the IAM Identity Center User Guide.

Usage

identitystore_get_group_membership_id(IdentityStoreId, GroupId,
  MemberId)

Arguments

IdentityStoreId

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

GroupId

[required] The identifier for a group in the identity store.

MemberId

[required] An object that contains the identifier of a group member. Setting the UserID field to the specific identifier for a user indicates that the user is a member of the group.

Value

A list with the following syntax:

list(
  MembershipId = "string",
  IdentityStoreId = "string"
)

Request syntax

svc$get_group_membership_id(
  IdentityStoreId = "string",
  GroupId = "string",
  MemberId = list(
    UserId = "string"
  )
)