Skip to main content

getUsersInOrganization

@svenvw/fdm-source


@svenvw/fdm-source / fdm-core/src / getUsersInOrganization

Function: getUsersInOrganization()

getUsersInOrganization(fdm, organization_slug): Promise<object[]>

Defined in: fdm-core/src/organization.ts:302

Retrieves a list of users that are members of a specific organization.

Parameters

fdm

any

The FDM instance providing the connection to the database.

organization_slug

string

The unique slug of the organization.

Returns

Promise<object[]>

A promise that resolves with an array of user details.

Throws

Throws an error if any database operation fails.