getPendingInvitationsForUser
@svenvw/fdm-source / fdm-core/src / getPendingInvitationsForUser
Function: getPendingInvitationsForUser()
getPendingInvitationsForUser(
fdm
,user_id
):Promise
<object
[]>
Defined in: fdm-core/src/organization.ts:482
Retrieves a list of pending invitations for a specific user.
Parameters
fdm
any
The FDM instance providing the connection to the database.
user_id
string
The ID of the user for whom to retrieve pending invitations.
Returns
Promise
<object
[]>
A promise that resolves with an array of pending invitation details.
Throws
Throws an error if any database operation fails.