Skip to content

/AWS1/CL_AFB=>SEARCHUSERS()

About SearchUsers

Searches users and lists the ones that meet a set of filter and sort criteria.

Method Signature

IMPORTING

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/AFBNEXTTOKEN /AWS1/AFBNEXTTOKEN

An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults. Required.

IV_MAXRESULTS TYPE /AWS1/AFBMAXRESULTS /AWS1/AFBMAXRESULTS

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. Required.

IT_FILTERS TYPE /AWS1/CL_AFBFILTER=>TT_FILTERLIST TT_FILTERLIST

The filters to use for listing a specific set of users. Required. Supported filter keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.

IT_SORTCRITERIA TYPE /AWS1/CL_AFBSORT=>TT_SORTLIST TT_SORTLIST

The sort order to use in listing the filtered set of users. Required. Supported sort keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AFBSEARCHUSERSRSP /AWS1/CL_AFBSEARCHUSERSRSP