Skip to content

/AWS1/CL_IDS=>CREATEGROUPMEMBERSHIP()

About CreateGroupMembership

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

Method Signature

IMPORTING

Required arguments:

IV_IDENTITYSTOREID TYPE /AWS1/IDSIDENTITYSTOREID /AWS1/IDSIDENTITYSTOREID

The globally unique identifier for the identity store.

IV_GROUPID TYPE /AWS1/IDSRESOURCEID /AWS1/IDSRESOURCEID

The identifier for a group in the identity store.

IO_MEMBERID TYPE REF TO /AWS1/CL_IDSMEMBERID /AWS1/CL_IDSMEMBERID

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IDSCREGRMEMBERSHIPRSP /AWS1/CL_IDSCREGRMEMBERSHIPRSP