listPendingInvitationsForFarm
@nmi-agro/fdm-source / fdm-core/src / listPendingInvitationsForFarm
Function: listPendingInvitationsForFarm()
listPendingInvitationsForFarm(
fdm,principal_id,b_id_farm):Promise<any[]>
Defined in: fdm-core/src/farm.ts:724
Lists all pending (non-expired) invitations for a specific farm.
Requires share permission on the farm.
Parameters
fdm
any
The FDM instance providing the connection to the database.
principal_id
string
The identifier of the principal requesting the list (must have 'share' permission).
b_id_farm
string
The identifier of the farm.
Returns
Promise<any[]>
A Promise that resolves to an array of pending invitation records for this farm.