Class TdbGroupList

    • Constructor Detail

      • TdbGroupList

        public TdbGroupList​(TdbSession session,
                            java.lang.String user,
                            boolean incPublic,
                            boolean all)
                     throws TdbException
        Constructor -- retrieve the list of groups from the server
        Parameters:
        session - Active session
        user - null for all groups, or specify the user if retrieving groups for that user
        incPublic - set false to remove the PUBLIC group from the list
        all - set false to remove groups not known to the calling process from the list
        Throws:
        TdbException
      • TdbGroupList

        public TdbGroupList​(TdbSession session)
                     throws TdbException
        Constructor -- shortcut that retrieves all known group
        Parameters:
        session - Active session
        Throws:
        TdbException
      • TdbGroupList

        public TdbGroupList​(TdbSession session,
                            java.lang.String user)
                     throws TdbException
        Constructor -- shortcut that retrieves groups to which the named user belongs
        Parameters:
        session - Active session
        user - User for whom groups are to be retrieved
        Throws:
        TdbException
      • TdbGroupList

        public TdbGroupList​(TdbSession session,
                            java.lang.String user,
                            boolean incPublic)
                     throws TdbException
        Constructor -- shortcut
        Parameters:
        session - Active session
        user - User for whom groups are to be retrieved
        incPublic - set false to remove the PUBLIC group from the list
        Throws:
        TdbException