Class DefaultFD2UserGroupProvider

    • Field Detail

      • LOG

        protected static final org.slf4j.Logger LOG
    • Constructor Detail

      • DefaultFD2UserGroupProvider

        public DefaultFD2UserGroupProvider​(IFormRenderContext renderCtx)
      • DefaultFD2UserGroupProvider

        public DefaultFD2UserGroupProvider​(Mandant mandant,
                                           Locale locale)
    • Method Detail

      • createUserGroupJSON

        public com.alibaba.fastjson.JSONArray createUserGroupJSON()
        Specified by:
        createUserGroupJSON in interface IFD2UserGroupProvider
        Returns:
        A JSON array of all user groups available for the current client. Contains JSONObjects with the following key-value pairs:
        • id: The ID (string) of the user group.
        • name: The given name (string) of the user group.