Version 4 Group_single or Group_multi

Discussion in 'Integration' started by opholdings, Dec 30, 2011.

  1. opholdings

    opholdings New Member

    Joined:
    Aug 26, 2006
    Messages:
    2
    We are trying to integrate ver. 4 with WSN Links. What is the meaning of:

    AM_protect_databased::

    Group_none
    Group_single
    Group_multi

    And what are the conditions for choosing this select field?

    Thanks
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    This describe how third-party script handle user's groups.
    GROUP_NONE - user do not have group in third-party script
    GROUP_SINGLE - Third-party script use single field for user's group in user table. (So you have to define Am_Protect_Table::FIELD_GROUP_ID in setFieldsMapping function inside CreateTable)
    GROUP_MULTI - third-party script have separate table for user to group relations. (So you have to setGroupsTableConfig inside createTable and describe fields of groups_to_user table. )

Share This Page