Class TdbUserAccessList

    • Constructor Detail

      • TdbUserAccessList

        public TdbUserAccessList​(TdbSession session,
                                 java.lang.String username)
                          throws TdbException
        Constructor, retrieve the database access rights explicitly granted to a particular user.
        Parameters:
        session - Active session
        username - The name of the user for whom access rights are to be retrieved
        Throws:
        TdbException
      • TdbUserAccessList

        public TdbUserAccessList​(TdbSession session,
                                 java.lang.String username,
                                 boolean includeGroups)
                          throws TdbException
        Constructor, retrieve the database access rights for a particular user.

        Passing true to the includeGroups parameter of this constructor requries TRIPsystem 6.2-9 or later to have any effect.

        Parameters:
        session - Active session
        username - The name of the user for whom access rights are to be retrieved
        includeGroups - Pass true to also retrieve access rights granted to the user via group memberships, and false to only retrieve access rights granted explicitly to the specified user.
        Throws:
        TdbException