Get Users Groups

Retrieve an Okta user's current group memberships.

Scopes

See Action cards for the list of required OAuth scopes needed by this card.

Options

Field Definition Type Required

Result Set

Choose a method to filter search results:

  • First 200 Records: Returns the first 200 matching records.

  • Stream Records: Passes all matching user records from your parent flow to a helper flow.

    Selecting this option adds a Streaming input section to the card where you can select a helper flow for streaming and add custom extensible fields.

Dropdown

TRUE

To learn how to return a large number of records, see Stream matching records with a helper flow.

Input

Field Definition Type Required

User

ID

ID of the Okta user.

Text

TRUE

Streaming

Flow

Click Choose Flow to browse and select a helper flow to which the search results will be streamed, then click Choose to confirm.

Optionally, click the empty field under Click or drop here to create and add custom extensible fields that pass data to the helper flow. These fields are added as key/value pairs under the State output object in the helper flow.

Appears when Stream Records is selected from the Result Set option.

Flow

TRUE

List Criteria

Record Limit

Specify the number of records to stream.

  • When the field is set to less than 0, the card returns an error.

  • When the field is set to either 0 or a value greater than 0, the stream returns up to the maximum number specified.

  • When the field is empty, null, or not selected, the stream returns all records.

  • The default value is 1000000 (1 million).

  • The valid range is from 0 to 1000000.

This field appears when you select Stream Matching Records from the Result Set option.

Number

FALSE

Output

Field Definition Type

Groups

ID

ID of the Okta group.

Text

Created

Date and time when the object was created.

Text

Last Updated

Time stamp when the group was last updated.

Text

Last Membership Updated

Time stamp when the group's memberships were last updated.

Text

Object Class

Determines the profile of the group.

Object

Type

Determines how a group's profile and memberships are managed.

Text

Profile

Name

Name of the group.

Text

Description

Description of the group.

Text

Records Streamed

Number of records streamed in a streaming flow.

Appears when Stream Records is selected from the Result Set option.

Number

Related topics

Okta connector

Workflow elements

Guidance for Okta connector

Okta API documentation