Skip to content

Create Group Membership

identitystore_create_group_membership R Documentation

Creates a relationship between a member and a group

Description

Creates a relationship between a member and a group. The following identifiers must be specified: GroupId, IdentityStoreId, and MemberId.

Usage

identitystore_create_group_membership(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$create_group_membership(
  IdentityStoreId = "string",
  GroupId = "string",
  MemberId = list(
    UserId = "string"
  )
)