Skip to content

/AWS1/CL_WML=>LISTGROUPSFORENTITY()

About ListGroupsForEntity

Returns all the groups to which an entity belongs.

Method Signature

IMPORTING

Required arguments:

IV_ORGANIZATIONID TYPE /AWS1/WMLORGANIZATIONID /AWS1/WMLORGANIZATIONID

The identifier for the organization under which the entity exists.

IV_ENTITYID TYPE /AWS1/WMLENTITYIDENTIFIER /AWS1/WMLENTITYIDENTIFIER

The identifier for the entity.

The entity ID can accept UserId or GroupID, Username or Groupname, or email.

  • Entity ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234

  • Email address: entity@domain.tld

  • Entity name: entity

Optional arguments:

IO_FILTERS TYPE REF TO /AWS1/CL_WMLLSTGRPSFORENTFILTS /AWS1/CL_WMLLSTGRPSFORENTFILTS

Limit the search results based on the filter criteria.

IV_NEXTTOKEN TYPE /AWS1/WMLNEXTTOKEN /AWS1/WMLNEXTTOKEN

The token to use to retrieve the next page of results. The first call does not contain any tokens.

IV_MAXRESULTS TYPE /AWS1/WMLMAXRESULTS /AWS1/WMLMAXRESULTS

The maximum number of results to return in a single call.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WMLLISTGRPSFORENTRSP /AWS1/CL_WMLLISTGRPSFORENTRSP