@oneblink/apps-react
    Preparing search index...

    Function getCurrentFormsAppUser

    • Get the current user's App User details for a OneBlink Forms App. Returns undefined if the current user is not logged in.

      const formsAppId = 1
      const formsAppUserDetails =
      await authService.getCurrentFormsAppUser(formsAppId)
      if (!formsAppUserDetails) {
      // handle unauthorised user
      }

      Parameters

      • formsAppId: number
      • OptionalabortSignal: AbortSignal

      Returns Promise<
          | { formsAppId: number; groups: string[]; userProfile?: UserProfile }
          | undefined,
      >